0
I created a structure to input your location and simply print it, but it's not working, plz help me
https://code.sololearn.com/c2lIJDL8TK86/?ref=app (TELL ME HOW TO USE LOOP TO TAKE INPUT IN A STRING)
3 Answers
+ 1
SD Anime Don't use & for string input address. For other type, it must.
for (int 1-0; i<1; i++) ā // this is wrong way initializing...
Correct way is :
for (int i=0; i<2; i++) //correctā
.it i, not 1
You wrote xs instead of %s in output statement in loop..
try these changes. it works....
+ 1
I mentioned 4 changes. But you are done only 1 change...
Post your separate update new code again, with trying changes if not work...
0
Still not working š¤Æš±