+ 1

How to feed multiple line input while running a program.

After writing and compiling the program it asks for input of split multiple lines but I can understand how to give input. I'm not able to get desired result. https://code.sololearn.com/cqd2IXG6cNuq/?ref=app

19th Apr 2020, 3:40 PM
Sneha Bisht
Sneha Bisht - avatar
3 Respostas
+ 2
Try 12,24+ hope this work for your program
19th Apr 2020, 7:42 PM
VIVEK NIRMALKAR
VIVEK NIRMALKAR - avatar
+ 1
Give the first input in first line and then go to the next line and give the second input and so on Eg.(//Input=>) 4 5 8 //3 inputs
19th Apr 2020, 4:28 PM
Bartika🎶
Bartika🎶 - avatar
0
you r using , at time of taking input so you have to give as it is and after that it automatically assign the value and execute the line where you have to give +- so you dont have to change line simply try above method
19th Apr 2020, 7:45 PM
VIVEK NIRMALKAR
VIVEK NIRMALKAR - avatar