Question: Can someone help me with this code , its for C++ Your Task: Write a calculator Program with following functions. Your program must have the

Can someone help me with this code , its for C++

Your Task: Write a calculator Program with following functions. Your program must have the following menu and depending on the users choice, your program should be calling the pertaining function to display the result for the user.

1 - Add

2 - Subtract

3 - Multiply

4 - Divide

5 - Raise X to the power Y

0 - Quit

Your calculator must:

1. Display a menu with all the options

2- Ask the user to select an option from the menu 3. Based on the user selection, your program must then ask for the operand/s and call the pertaining function.

4. Your program will accept int and the result can be displayed in double.

Input Validation: Your program should only accepts numbers.Can someone help me with this code , its for C++ Your

Your Task: Write a calculator Program with following functions. Your program must have the following menu and depending on the users choice, your program should be calling the pertaining function to display the result for the user 1 -Add 2-Subtract 3- Multiply 4-Divide 5 - Raise X to the power Y o-Quit Your calculator must: 1. Display a menu with all the options 2- Ask the user to select an option from the menu 3. Based on the user selection, your program must then ask for the operand/s and call the pertaining function. 4. Your program will accept int and the result can be displayed in double. nput Validation: Your program should only accepts numbers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!