hey this is a java program and i want as simple as possible to be written bc this a second class of java and it is a starter class. thanks
Chapter 3 & 4 Assignment (Math Quiz) - 20 points Your goal is to generate a simple math quiz with a number of equations that will be determined by the user. You will prompt the user for an answer to each equation and display whether they answered it correctly or incorrectly. At the end of the math quiz, you will display the number of total equations that they answered correct out of how many were given. Prompt the user for the number of math equations they would like to solve. (1 point) OK Cancel Use a loop to generate the number of math equations that the user specified. (4 points) You will need to generate 2 random numbers from 1-10 for each equation. Then use addition as your operator. (2 points) Display an input box that gives the user an equation that adds the 2 random numbers together and prompts them for the answer. (2 points) 8 107 OK Cancel Use conditionals to determine if the user is correct or incorrect. (2 points) Display a message that lets them know whether it was correct or incorrect. (point) Message 1 Correct Tow Use a tally variable to keep track of how many questions they answer correctly. (2 points) Display how many questions were answered correctly out of how many questions were given. (1 point) Yowout of correct Figure out the percentage of questions that the user entered correctly and add this to your output box. Note: you need to be careful of integer division when you are calculating the average. The variable that determines the total number of questions or the variable tallying the number of correct questions needs to be a double data type. Based on the percentage of questions that were answer correctly, determine a message to display that will tell the user how good they did. (5 points) Criteria: O Percentage is 90% or higher O Percentage is between 80% (inclusive) and 90% (not inclusive) o Percentage is between 70% (inclusive) and 80% (not inclusive) O Percentage is between 60% (inclusive) and 70% (not inclusive) O Percentage is 50% or below Example: Message You got 3.0 out of 5 questions correct which equates to 60.0% You need more practice. OK Extra Credit Challenge (2 bonus points): Make the quiz randomly generate a mathematical operator (mulitiplication, addition, & subtraction) for each equation