Question: Write a program which takes an input from the user, if the input is 1, calculate the area of the rectangle, if the input is
Write a program which takes an input from the user, if the input is 1, calculate the area of the rectangle, if the input is 2 calculate the area of square, if input is 3 calculate the area of the circle, if input is 4 calculate the area of the triangle, otherwise display Wrong Input.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
