Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Create a math quiz that tests a person’s addition skills. The page (mathQuiz.

ID: 3825549 • Letter: 1

Question

1. Create a math quiz that tests a person’s addition skills. The page (mathQuiz.php) will display a welcome message (the first time) or the result of the problem (correct or an incorrect answer if the person has already played). The form displays two random numbers between 1 and 100 and asks the player to submit the sum. This form calls the same page (mathQuiz.php) to receive the sum submitted by the player, checks whether or not the answer is correct and displays the result. The form should also display again with two new random numbers for the person to complete a new problem.

Explanation / Answer

CODE: