0

Input problem

What is wrong in this code? Why it's not taking any input? https://code.sololearn.com/cXF0L8dHn27f/?ref=app

6th Jun 2020, 2:00 PM
Nasir Uddin Dipu
Nasir Uddin Dipu - avatar
6 Answers
+ 1
It works on SL code playground as well but you have to provide all the input at once. You should give your input something like this with each on a new line. * 3 4
6th Jun 2020, 2:19 PM
Avinesh
Avinesh - avatar
+ 1
I had the same problem and I think that sololearn's compiler just accepts one input at the beginning of the code
6th Jun 2020, 2:05 PM
Alexandre
Alexandre - avatar
0
Does this code run on any other C compiler?
6th Jun 2020, 2:02 PM
Alexandre
Alexandre - avatar
0
Yes, I wrote the same code in codeblocks and it's working fine!
6th Jun 2020, 2:03 PM
Nasir Uddin Dipu
Nasir Uddin Dipu - avatar
0
Hmm... So the code playground is not that much advanced! 😳 Thanks mate for your time.
6th Jun 2020, 2:08 PM
Nasir Uddin Dipu
Nasir Uddin Dipu - avatar
0
Ah my bad! Yes, it's working. I have to learn a lot. Thanks Avinesh
6th Jun 2020, 2:27 PM
Nasir Uddin Dipu
Nasir Uddin Dipu - avatar