Need Help ?
Have a Question ?

(Solved): Task 3: Write A Program That Gives Simple Math Quizzes. The Program Should Display Two Random Number ...


Task 3: Write a program that gives simple math quizzes. The program should display two random numbers from 1 to 100 that are

i need code in java please.
Task 3: Write a program that gives simple math quizzes. The program should display two random numbers from 1 to 100 that are to be added, such as: 47 +29 The program allows the user to enter the answer. If the answer is correct, display "congratulations". If the answer is incorrect, the program should show the correct answer. Your result should look like, for example: 47 +29 Enter your answer: 1 Wrong, the right answer is 76

Expert Answer


/* * The java program that generates two random numbersand then prompts user to enter the user input * and then check if user input is the answer is thenprint the "Congratulations" other
We have an Answer from Expert Buy This Answer $6