+ 2
Is it possible to set a condition inside while() while taking arguments from do{} or something?
2 Answers
+ 2
Outside do while loop just declare quit and don't initialize it with = ....
Inside do while loop assign value to quit...
string quit;
do{ quit = ....;....}while....
+ 2
I think a simple while loop would be better for your program.