Question: program the following by using c language Ask User to select one option from the following. Calculate area of Circle [c] Calculate area of Rectangle

program the following by using c language

Ask User to select one option from the following. Calculate area of Circle [c] Calculate area of Rectangle [r] Calculate area of Triangle [t]

If user enters c then ask user to enter radius and calculate area using following formula.

If user enters r then ask user to enter length & width and calculate area using following formula.

If user enters t then ask user to enter base & height and area using following formula.

Display the area.

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!