+ 2
Q:why scanf is not responding well, why it skips the value of s??
3 odpowiedzi
+ 5
https://stackoverflow.com/questions/13372923/scanf-wont-ask-for-input-the-second-time
+ 2
For a single char input, you could use getchar()
(Another option is getch() but that is from conio.h that is depreciated in current compilers)
f=getchar();
+ 1
without space input like :
yyyyyyyyyyn
with space you give input like :
y
y
y
y
n
Or
yyyyyyyyn