117k views
0 votes
Write a program that gives simple math quizzes. The program should display two random numbers that are to be added, such as:

Project 5-11 output

The program should allow the student to enter the answer. If the answer is correct, a message of congratulations should be displayed. If the answer is incorrect, a message showing the correct answer should be displayed.

User Hernan
by
4.7k points

2 Answers

3 votes

the answer would have to be 6

User Dannyrosalex
by
5.6k points
6 votes

Answer:

6

Step-by-step explanation:

User Sosiouxme
by
5.4k points