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
30th Dec 2018, 5:54 PM
blACk sh4d0w
blACk sh4d0w - avatar
I want to scanf value in c program on sololearn app,but how do ?
30th Dec 2018, 5:44 PM
Lihou Brak
Lihou Brak - avatar