Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 functionStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started