0
Input problem
What is wrong in this code? Why it's not taking any input? https://code.sololearn.com/cXF0L8dHn27f/?ref=app
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
+ 1
I had the same problem and I think that sololearn's compiler just accepts one input at the beginning of the code
0
Does this code run on any other C compiler?
0
Yes, I wrote the same code in codeblocks and it's working fine!
0
Hmm... So the code playground is not that much advanced! đł
Thanks mate for your time.
0
Ah my bad! Yes, it's working. I have to learn a lot.
Thanks Avinesh