Feb-18-2021, 07:41 AM
Looks like you can't do interactive stuff on ideone. But you can type in the input ahead of time.
Below your code should be another window with the "input" tab. Type in your answers there and it will feed it to the program when you run.
Below your code should be another window with the "input" tab. Type in your answers there and it will feed it to the program when you run.