Computer Science, asked by mdmahfoozalam142004, 7 months ago

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 anandsingh4083
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