+ 2
Why the output is "no output"
I can't find the error of this.Can you help me? I think tge error is in the last area,the area of AGE https://code.sololearn.com/cnl6ts4I8Niz/?ref=app
4 Respuestas
+ 4
https://code.sololearn.com/cn5qyIkjSb1W/?ref=app
+ 3
In scanf if you put a & before the variable it works, like this:
scanf("%s" , &first_name);
Do that for the other two too.
+ 2
& operator tells the address of a variable where the data will be stored. so to get input you have to write it like this
scanf("%d", &age);
same syntax for other types
+ 2
ok thank you very much to all for helping me