this seems to be more of a guessing game, where the number is pre-defined. I wish to generate 2 random integers and create a sum e.g. '23-16=' whereby the larger integer is identified and placed on the left hand side. Only when the user inputs the right answer will a new sum be generated with two new integers. From my original code, a new sum is generated even if you get the answer wrong, how do I get the code to repeat the question answered incorrectly.? Do I need to store the random integers in variables or something.?
In reply to Re^2: Repeat question (redo)
by hchana
in thread Repeat question
by hchana
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |