+ 1
what did i do wrong?
hello im Fahrul and im a complete beginner in code, im currently learning cpp in this app, so here i wanna ask. in my code below, i want to make a very simple program that prints Hi Fahrul! when i enter my name "fahrul", then prints Hi there if i enter everything else but not my name. i wonder why but in my code below the output always hi fahrul. im complete beginner so please dont sue me for my stupidity haha https://code.sololearn.com/cIm0us9nbGlc/?ref=app
4 Réponses
0
https://code.sololearn.com/cvjivB0bPqxv/?ref=app
0
In C++ the data type is "string" and not "String"
0
@Ravi i fixed it. still output always hi fahrul
0
thank you very much @Vishnu NS. i appreciate every second when u look and fix at my code. 😃