Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PLEASE USE C++! and please keep it simple using basics only while adding commentary after every main step. thanks in advance Exercise 1 Write a
PLEASE USE C++! and please keep it simple using basics only while adding commentary after every main step. thanks in advance
Exercise 1 Write a program that always prints a menu of five options addition, subtraction, multiplication, division of two numbers, or quit the program. If user chooses (enters) for example 1 (addition, the program will ask him to enter two numbers that the program will add to each other and prints the result. Then, the menu options are printed again and so on... If user enters 5 (quit), the program will stop. Below an example of execution, (user's input is in red ****Welcome to calculator ***Your options are:*** 1) Adlition 2) Subtraction 3) Multiplication 4) Division 5) Quit calculator Choose your option: Add this: 3 to this 4 3+4 = 7 ****Welcome to calculator ***Your options are:*** 1) Acklition 2) Subtraction 3) Multiplication 4) Division 5) Quit calculator Choose your option: Subtract this: from this: 9 9-6= 3 ****Welcome to calculator**** ***Your options are:*** 1) Addition 2) Subtraction 3) Multiplication 4) Division 5) Quit calculator Choose your option: ***** End of the program calculator *****Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started