0
How do we use scanf in sololearn?
https://code.sololearn.com/cT426i54QyYr/?ref=app https://code.sololearn.com/c8PU3uvdI00N/?ref=app
2 Answers
+ 8
In your code
https://code.sololearn.com/c8PU3uvdI00N/?ref=app
On line 6, replace %i with %d.
On line 11, remove getch();
Then input any number it should work fine
0
I want to scanf value in c program on sololearn app,but how do ?