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
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
0
Answer:
hiii..... ig... u dont rember me na
('-_-)
Similar questions
Social Sciences,
1 month ago
English,
1 month ago
English,
2 months ago
Math,
2 months ago
English,
9 months ago