I am trying to write a math tutoring program for students. A very basic outlay of ceretain components. This program should have the user select addition, subtraction, multiplication or division. user should also have the capeability to exit the program and quit it. I tried writing some code for this, but am having way to many issues. some criteria for this program should be
1 dispay what the user has inputted frm menu
2. generate 2 random #'s from 1-20
3. if user selects division, make sure divisor is not zero
4. display the #'s and accept the users answers from the keyboard on weather they perform addition subtraction mult, or division
5. calc the correct answer, compare the users answers to the answer calculated in the program
6. if user gets it correct display congratulations!
7. incorrect answers diplay incorrect!
8. after program operates display menu again, until users decides to end program by quitting.
Any form of help or snippets of code, or maybe what direction i should be heading in would be greatly apprecitated. Thanks in advance.