Computer Science, asked by raishivansh100, 2 months ago

Write a menu driven program to display the following menu

a. Area of a shape

b. Volume of a shape

c. Exit

According to the input chosen by the user ask for type of shape(any 4 shapes) and calculate

area or volume accordingly.

[ Hint: Use Nested switch ]

Answers

Answered by ramsmedicine
3

Answer:

Input 1 for area of circle                                                                                    

Input 2 for area of rectangle                                                                                  

Input 3 for area of triangle                                                                                  

Input your choice : 1                                                                                          

Input radious of the circle : 5                                                                                

The area is : 78.500000

Explanation:

Answered by XxDABICAKExX
0

Answer:

hiii..... ig... u dont rember me na

('-_-)

Similar questions