+ 3
Codeplayground:Only one time input?
I'm working on a little code which features a maths formula.It accepts only positive integers, so I coded a 'cout<<"Please input positive integers only"<<endl;' when users enter negative int, and a redo option('enter 'y' to redo' , cin>>redo then dowhile loop ). But it seems that users can only input once in the code playground? Can't it work like normal .exe program? This way I have to modify the code again before posting it.(not that it's hard,it's just a simple program, but I'm just curious) .
2 Answers
+ 5
Yes, the codeplayground can only do a one-time input sadly. Maybe they will do a multiple time input in the future.
+ 2
thanks K2 Shape