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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!