|correctChoice and incorrectChoice are never declared. |
Line 14: You have a do without a while.
Line 19: if ((0 < number1 < 10) && (0 < number2 < 10))
This will always return true. Also, do not use an if just to set the value of a boolean. It's easier and faster to do this:
correctChoice = number1 > 0 && number1 < 10 && number2 > 0 && number2 < 10;
Line 30: system "PAUSE"
Should be system("PAUSE"); (Or removed entirely.)
Line 34: It's variable = value, not the other way around. Also, you forgot the ';'
Line 35: cout <<"How much is number1 times number2?" << number1, number2 << " \n";
Can't have that comma between number1 and number2.
cout <<number1 << " * " << number2 << " =?\n";
The entire thing falls apart after line 38, and you don't have nearly enough closing brackets. (The latter suggests poor indentation, but I can't tell from the way you pasted it in.) I'd suggest a function or two, but I suspect you're not that far into the class. Something that might work for you would be to work from outer to inner, instead of writing from top-down. Write all of the code that doesn't go into a loop. Then, go back and fill in the missing loop code. While writing that code, skip anything that'll go in an inner loop. Once you're done with that level of code, go back and fill in the second loops. Repeat until finished.