+ 2

why am i getting Eof error: eof when reading a line ?

trying to build the simple calculator, looks like ive got the input wrong. Can anyone help make this code work ? https://code.sololearn.com/c0SnbT1eAqPH/?ref=app https://code.sololearn.com/c0SnbT1eAqPH/?ref=app

5th Apr 2018, 2:49 AM
Olivier Trudel
Olivier Trudel - avatar
1 Answer
+ 1
Taking the input from user is in while loop and the SL editor don't pop up input again. so second time we are not able to give input resulting in eof error
5th Apr 2018, 2:55 AM
kaliki chandu
kaliki chandu - avatar