Question: Write a C program that calculates the following: 1. Circle a. Area b. Circumference 2. Rectangle a. Area b. Perimeter 3. Triangle a. Area Your

 Write a C program that calculates the following: 1. Circle a.

Write a C program that calculates the following: 1. Circle a. Area b. Circumference 2. Rectangle a. Area b. Perimeter 3. Triangle a. Area Your program should first prompt the user as follows: Based on user choice your program should then prompt the following: Based on the subchoice you should call one of the following functions to ask for user data and show the results: a. circle_area(); b. circle_circumference(); c. rectangle_area(); d. rectangle_perimeter(; e. triangle_area0; For any invalid selection, your program should say "Incorrect selection!! Terminating Program" Use conditional statements and functions. Draw a flowchart for any two sub-functions. The flowchart of the main code is given below

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!