0
The following code does not work for me in Code::blocks
Asks the question, but doesn't print the result https://code.sololearn.com/cyodP53Qqdox/#
3 Answers
+ 2
The code works fine for me (also Code::Blocks). What happens when you have entered the five numbers instead? Does it close the console window immediately?
0
No...
Is left doing nothing
0
Solved!
I only had to put the question ("cin") before the loop
Thanks for the interest! B-)