subject

. You will develop an Algorithm and a C++ program for a mini calculator problem described below: a. Write a program that prompts the user to enter an equation in the form of 10+5, or 10-5, or 1*5, or 13/4, or 13%4. The program should then output the equation, followed by an equal sign, and followed by the answer (Refer to steps d and e below for sample output displays and algorithm) b. The program should read in the equation by reading in three values: a double and a character (*,+,-,/,%) and then another double. Because of the nature of cin >>, it wonโ€™t matter if they enter a space around the character or not (Refer to step 5eii. below for cin >> statement) c. The character they enter will be one of the following: +, -, *, % or /. I. The program should do addition, subtraction, multiplication or division. II. Make sure and test division by zero III. Make sure and CHANGE the numbers to INTEGER before attempting the %. d. Other than the data inputted, your output should look EXACTLY as follows: NOTE: โœ“ The items shown after the colon are what YOU enter as input; those items can vary. โœ“ The spaces donโ€™t matter when you input the equation โœ“ The tables below show several different sample runs for you to compare:

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
When is it appropriate to use an absolute reference
Answers: 1
question
Computers and Technology, 23.06.2019 05:00
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
question
Computers and Technology, 24.06.2019 02:40
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
You know the right answer?
. You will develop an Algorithm and a C++ program for a mini calculator problem described below: a....
Questions
question
Biology, 16.10.2019 18:30
question
Social Studies, 16.10.2019 18:30
question
Social Studies, 16.10.2019 18:30
Questions on the website: 13722362