+ 1
Can't we use scanf() twice in a program?
Scanf function is not working twice in programmes in playground of sololearn . Is it the compilers fault or its true that we can't use scanf twice???
2 Respuestas
+ 3
You can use it any number of times.
+ 2
You have to give input for all scanf statements in the begging each input should be separated by space or enter
https://code.sololearn.com/WhiNb9BkJUVC/?ref=app