Answer to Question #71582 in C++ for m

Question #71582
This program will always print a menu of 5 options. If user chooses for example 1 (addition), the program will ask him to enter 2 numbers that the program will add to each other. Then, the menu options are printed again and so on… If user chooses 5 (quit), the program will stop. Below an example of execution (user’s input is in red). Write the program where the menu is a function, as well as the 4 calculus operations (addition, subtraction…)
Welcome to calculator your options are: 1) Addition
2) Subtraction
3) Multiplication
4) Division
5) Quit calculator
Choose your option: 1
Add this: 3 to this: 4 3 + 4 = 7 Welcome to calculator your options are: 1) Addition
2) Subtraction
3) Multiplication
4) Division
5) Quit calculator
Choose your option: 2 Subtract this: 6 from this: 9
9 - 6 = 3
using while,for and array if possible
1
Expert's answer
2017-12-04T14:14:19-0500
Dear m, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS