0

How to use scanf function in one program of three times........

https://code.sololearn.com/cdvK4E3A86ng/?ref=app

27th Feb 2019, 5:59 AM
Ajay singh
Ajay singh - avatar
7 Answers
+ 4
The SoloLearn compiler only takes input at the start of the program, so you need to enter everything in one go.
27th Feb 2019, 6:13 AM
Rowsej
Rowsej - avatar
+ 6
How the SoloLearn compiler works, it compiles on a server because compiling on the app would take up A LOT of data. But how the SoloLearn compiler works, is it takes the input at the start of the program, and uses those as the input. Although it will work on a proper C compiler.
27th Feb 2019, 6:10 AM
Rowsej
Rowsej - avatar
+ 4
Please explain more, I don’t understand. You seem to already have gotten input using scanf three times, so I’m a bit confused.
27th Feb 2019, 6:05 AM
Rowsej
Rowsej - avatar
+ 2
I am using scanf three times but when I run this program, it is take input only one time
27th Feb 2019, 6:08 AM
Ajay singh
Ajay singh - avatar
+ 1
I
27th Feb 2019, 6:07 AM
Ajay singh
Ajay singh - avatar
+ 1
I am confused......😞
27th Feb 2019, 6:11 AM
Ajay singh
Ajay singh - avatar
+ 1
Thanks
27th Feb 2019, 6:14 AM
Ajay singh
Ajay singh - avatar