http://www.cplusplus.com/forum/general/209384/
You already have a thread over there.
What do you mean by:
I am having issues keeping the "correct/incorrect" statements from being output in the wrong places |
Do you mean you want a new line after the incorrect / correct? If that's the case, you need to make a new line after outputting correct / incorrect.
Edit: Change the else if -> else
Last edited on
Thanks for that tip, appreciated.
I get a output like this...
Please choose one of the following options:
[1] Addition
[2] Subtraction
[3] Multiplication
[4] Division
[5] Quit
1
level [1]
level [2]
level [3]
level [4]
2
incorrect 1 + 2 = ? 3
correct correct correct Please choose one of the following options:
[1] Addition
[2] Subtraction
[3] Multiplication
[4] Division
[5] Quit
1
level [1]
level [2]
level [3]
level [4]
4
correct correct correct 1 + 0 = ? 1
correct Please choose one of the following options:
[1] Addition
[2] Subtraction
[3] Multiplication
[4] Division
[5] Quit
trying to eliminate the needless "corrects and incorrects"
Last edited on