Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions