Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The direction for this program is below: Need before 3/2 thanks This program should use the random number generator for C++ to generate the random

The direction for this program is below: Need before 3/2 thanks

This program should use the random number generator for C++ to generate the random response and to generate the random used within the problems. The number for the problems should be selected between 0 and 50 and always use integer values.

This program is also requited to use functions. Therefore, you should consider your input tasks, processing tasks, and output tasks.

This program will be a self-quizzing program for students learning basic arithmetic.

Your program will quiz students on addition, subtraction, multiplication.

The program should present a menu for the user to select the type of problems they want to solve:

1.Practice Addition

2. Practice Subtraction

3. Practice Multiplication

4. Exit

Once the user selects, they should be presented with 10 problems one at a time. After the user enters their answer to a problem, the program should provide a message that lets them know if the answer was correct or incorrect. For example, your program can prompt:

How much is 6 times 7?

The response should be "Excellent!" if they get the question correct or "No. Keep Trying" if the answer is incorrect. To make the program more interesting, your program should have different responses for correct and incorrect answers to provide some variety. Correct answers should be given one of these randomly selected responses:

*Nice Job!

*Excellent!

* You are doing great!

*You got this!

for incorrect answers, your program should randomly from these responses:

*Sorry. Please try again.

*Don't hang your head. Try once more.

*You can do it. Don't stop now!

*That was not it, but keep practicing!

Your program should have the student keep answering the same question if they get it incorrect.

Your program is also required to use functions. Therefore, you should consider your input tasks, processing tasks, and output tasks.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions