Write a menu driven program(switch case) for areas of different shapes
asking for required information. (1 for Circle, 2 for Square, 3 for Rectangle,
4 for Triangle)
[area of circle=πr
2
area of square=side2
area of rectangle=length*breadth
area of triangle= 1
2
*base*height]
Answers
Answered by
0
Explanation:
Write a menu driven program(switch case) for areas of different shapes
asking for required information. (1 for Circle, 2 for Square, 3 for Rectangle,
4 for Triangle)
[area of circle=πr
2
area of square=side2
area of rectangle=length*breadth
area of triangle= 1
2
*base*height]
Similar questions
Social Sciences,
3 months ago
English,
3 months ago
English,
3 months ago
History,
7 months ago
English,
7 months ago