Create a game for first graders that will test their knowledge on multiplication
Create a game for first graders that will test their knowledge on multiplication, division, addition, and subtraction.
Requirements:
Do not perform the calculations in the Main function. Each operation must be invoked by the methods listed below.
Selecting the game options needs be invoked in a method
- public static void gameSelect(int gameOption){}
Each method will return the number of problems that were answered correctly
- public static int AdditionProblems() {}
- public static int MultiplicationProblems(){}
- public static int SubtractionProblems(){}
- public static int DivisionProblems(){}
- Two part answer
- Quotient and Remainder
- If the remainder is zero have the player enter zero
________________________________________________
Steps:
- Program will ask for the student’s first name.
- After their name is entered, the program will greet the student.
- “Hello,_____________.
- Welcome to the Math Game.”
- “Choose which math operations you would like to practice with.”
- The program will display 4 different options to choose:
- “Choose which math problem you would like to work with”
- Multiplication
- Division (Two part answer Quotient and the Remainder)
- Subtraction
- Addition.
- After the student selects the choice, the program will generate 10 simple math problems at random.
- The program will store how many problems are answered correctly.
- The method will return the total score to be printed on the output.
- After the 10th problem, the program will display the final score.
- Display option for the student to continue the game.
- When the student selects to continue the game, the program will ask to choose another math topic. (Repeat the Main menu)