Question: C++ Assignment: Write a simple re-occurring program where the user selects 1 of 19 functions() from geometric math formulas (see attached file) from a switch

C++ Assignment: Write a simple re-occurring program where the user selects 1 of 19 functions() from geometric math formulas (see attached file) from a switch statement (displayed as a list) in your main(). Once the user selects a function(), it asks the user for a value(s) and performs the calculation of the selected function(). If user enters 20; it ends the code. The list of formulas are listed below.

C++ Assignment: Write a simple re-occurring program where the user selects 1

Square Rectangle Perimeter Circumference Circle C 2*pi r Square Rectangle Triangle Trapezoid Circle A a2 A-I*b A - bh/2 A - (b1+b2)h/2 A pi r2 Area Cube Cylinder Cone Sphere S 6a2 S 2*pi r*h S-pi*r*l Surface Area Cylinder Cone Sphere V bh Volume V-4 pi *r3/3 Pythagorus Theorem Distance Formula d sqrt[(x2-x1)2+(y2-y1)2] Slope of a line m : (Y2-y1)/(X2-X1) Midpoint Formula

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!