How to scan more than 1 times in sololearn compiler?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to scan more than 1 times in sololearn compiler??

How to scan more than 1 times in sololearn compiler??

6th Feb 2020, 11:22 AM
ISTIAQUE ZAMAN
ISTIAQUE ZAMAN - avatar
3 Answers
+ 3
Inputs to the program have to of course be provided at once separated by newlines.
6th Feb 2020, 11:41 AM
Sonic
Sonic - avatar
+ 2
Write as many scanf statements you want and accordingly give each input. It would be better if you can do it every time on a new line.
6th Feb 2020, 11:30 AM
Avinesh
Avinesh - avatar
+ 1
Can any one please give me a code to scan more than 1 times...
8th Feb 2020, 9:59 AM
ISTIAQUE ZAMAN
ISTIAQUE ZAMAN - avatar