Question: WAP- write a program im a beginner, please write a simple program Q.2 WAP to make a function Option which takes the options 1,2 and

WAP- write a program
im a beginner, please write a simple program
Q.2 WAP to make a function "Option" which takes the options 1,2 and 3 from the user. Now make three different functions "areaCircle", "areaRect" and "circumCircle" which will calculate area of circle, area of rectangle and circumference of circle on the options 1 , 2 and 3 respectively returned by the function. Finally display the output in the main function. The necessary data for calculation needs to be passed from the main function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
