Write a program having a menu with the following options and corresponding actions.
Options
|
Actions
|
1. Area of square
|
Accept length , Compute the area of square and print
|
2. Area of Rectangle
|
Accept length and breadth , Compute area of rectangle and print
|
3. Area of Triangle
|
Accept base and height , Compute area of triangle and print
|