CALCULATE THE AREAS

0

0 votes
Easy
Problem

Write a menu-driven program to calculate the following:
1. Area of circle
2. Area of square
3. Area of sphere

Sample Output:

Input:

Press 1 to calculate area of circle
Press 2 to calculate area of square
Press 3 to calculate area of sphere
Enter your choice:
1
Enter radius:
5
Output:
Area of circle=78.5
Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?