write a menu driven program using switch to calculate area of circle, square,rectangle and triangle as per user's choice
Answers
Answered by
0
Answer:
Write a menu driven program to calculate:
Area of a circle = p*r2, where p = (22/7)
Area of a square = side*side
Area of a rectangle = length*breadth
Enter 'c' to calculate area of circle, 's' to calculate area of square and 'r' to calculate area of rectangle.
Similar questions