Create an applet that functions as a math quiz


Java and the html code for this. I am using netbeans IDE*

Create an applet that functions as a math quiz performing the following:
-Present 5 addition problems to the user using randomly generated numbers -Accept answers from the user
-Validate the user's answers against the actual sums
-Display statistics after the quiz is complete (# of questions asked, # of questions
answered correctly, % answered correctly)
Tasks:
? Adjust your numeric variables so that they are always integers
? Create a new integer to store the number of questions to be asked - initialize this variable to be "5"
? Start a loop, inside of which each individual question should be handled
? Generate the random numbers (less than 10) as the operands for the problem. Continue to generate random numbers for the second value until it is not the same as the first.
? Display the problem using the showInputDialog method and retrieve the user's answer
? Compare the user's answer against a calculated sum, and increment counters for "# of questions"and "# of questions answered correctly" as appropriate
? After all questions are complete, display statistics in the applet window (using drawstring) 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Create an applet that functions as a math quiz
Reference No:- TGS096709

Expected delivery within 24 Hours