Welcome to Top Excellors!

# Hello! So I Have This CIS Assignment Lab But When I Try To Make The Code I Don’t Really Know Where To Start From. My Professor Is Very Hard And He Likes To See The Outcomes As They Are Shown In The Problem. Please Help Me! Write A Program That Can Be

Hello! So I Have This CIS Assignment Lab But When I Try To Make The Code I Don’t Really Know Where To Start From. My Professor Is Very Hard And He Likes To See The Outcomes As They Are Shown In The Problem. Please Help Me! Write A Program That Can Be. hello! So I have this CIS assignment lab but when I try to make the code I don’t really know where to start from. My professor is very hard and he likes to see the outcomes as they are shown in the problem. Please help me!

Write a program that can be used as a math helper for an elementary student. The program should display two random integer numbers that are to be added, such as:
247
+ 129
——-

The program should wait for the students to enter the answer. If the answer is correct, a message of congratulations should be printed. If the answer is incorrect, a message should be printed showing the correct answer.

The program displays a menu allowing the user to select an addition, subtraction, multiplication, or division problem. The final selection on the menu should let the user quit the program. After the user has finished the math problem, the program should display the menu again. This process is repeated until the user chooses to quit the program.
Input Validation: If the user select an item not on the menu, display an error message and display the menu again.

Requirements:

Generate two random numbers in the range 0 – 9.

Subtraction

Generate two random numbers in the range 0 – 9.
num1 = rand() % 10;
num2 = rand() % 10;
Make sure num2 <= num1…
while (num2 > num1)
num2 = rand() % 10;

Multiplication

Generate two random numbers. The first in the range 0 – 10, the second in the range 0 – 9.

Division

Generate a single digit divisor
num2 = rand() % 9;
Generate a num1 that is a multiple of num2 so the division has no remainder. The num1 is never zero.
num1 = num2 * (rand() % 10 + 1);

All constant values must be declare as a constant variable. Use the constant variable in the calculation.
Validating the selection (1 to 5). If the selection is not in the range between 1 and 5, the program keeps asking the input until the correct selection is entered.

Output sample:

2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program

1
+ 2

4

Sorry, the correct answer is 3.
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program
The valid choices are 1, 2, 3, 4, and 5. Please choose: 2
8
+ 6

2
Congratulations! That’s right.
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program
9
*   4

36

Congratulations! That’s right.
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program
8 / 2 = 4
Congratulations! That’s right.
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program
6 / 2 = 3
Congratulations! That’s right.
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program

“Thank you for using math helper!”

Hello! So I Have This CIS Assignment Lab But When I Try To Make The Code I Don’t Really Know Where To Start From. My Professor Is Very Hard And He Likes To See The Outcomes As They Are Shown In The Problem. Please Help Me! Write A Program That Can Be

## Why US?

##### 100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

##### Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

##### Original Writing

We complete all papers from scratch. You can get a plagiarism report.

##### Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.