Question: Programming prjt Using FUNCTIONS, write a C++ program that calculates the Area of a circle, a square and a rectangle. Your program must prompt the

 Programming prjt Using FUNCTIONS, write a C++ program that calculates the

Programming prjt Using FUNCTIONS, write a C++ program that calculates the Area of a circle, a square and a rectangle. Your program must prompt the user to select which area is to be calculated. Document your program. Apply the do while loop to repeat the program. Apply the while loop for input validation. he switch statements or the if/ else if statement to prompt the user for the area's selection. Based on your selection each choice enables the user to calculate a different area. Late assignments will not be accepted. Your formatted output must include the input info as well as the results in a readable format Finding the Area of a Circle How to find the area of a circle: The area of a circle can be found by multiplying pi (which is equal to 3.14) by the square of the radius If a circle has a radius of 4, its area is 3.14*4*4-50.24 If you know the diameter, the radius is 1/2 as large. Calculating the Area of a Square How to find the area of a square: The area of a square can be found by multiplying the base times itself. This is similar to the area of a rectangle, but the base is the same length as the height. If a square has a base of length 6 inches its area is 6'6-36 square inches Calculating the Area of a Rectangle How to find the area of a rectangle: The area of a rectangle can be found by multiplying the base times the height. If a rectangle has a base of length 6 inches and a height of 4 inches, its area is 6*4-24 square inches

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!