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
Get step-by-step solutions from verified subject matter experts
