+ 1

Input

Every time I click any ones code that has input in it. It comes back with eof error. Including the stuff I write

8th Feb 2018, 6:56 PM
Cody
Cody - avatar
1 Answer
+ 3
You have to feed it input. ;) If there is multiple inputs required, you have to enter ALL of the inputs into the box and separate each individual input with a new line. All of this has to be done in the very beginning due to the nature of the online compiler. Basically, it's compiling and running from the server then simply sends you the output. This is why it requires your input prior. Code with only one prompt for input: myInput Code with multiple prompts for input: firstInput secondInput thirdInput ...
8th Feb 2018, 7:00 PM
Fata1 Err0r
Fata1 Err0r - avatar