Question: C++ program that asks the user to make a choice off a menu that will be displayed to them. The user can make as many

C++ program that asks the user to make a choice off a menu that will be displayed to them. The user can make as many selections as they wish. The last choice from the menu will give them an option to stop.

The menu choices will be the following four calculations:

Find the volume of a cone

Find the volume of a sphere

Find the area of octagon

Find the distance between two points

Stop

For the different formulas, you will need to do some different function calculations these either finding the square root of a value, finding a number raised to a power or both. You must use the cmath library functions "pow" and/or "sqrt" to do the calculations. Along with this you will use acos(-1) for an estimation on . This value must be saved using a constant variable.

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!