Question: I need the solution quickly..please In 10 minutes QI: write a program to enter a character then use a switch statement to calculate the following

I need the solution quickly..please In 10 minutes

I need the solution quickly..please In 10 minutes QI: write a program

QI: write a program to enter a character then use a switch statement to calculate the following depending on the character you entered if it is c then calculate are circumference of a circle; if it is a then calculate the area of the circle; if it is d the calculate the diameter of the circle, finally if it is any other character then print an error message. Where: circumfrence = 2 xr area=r diameter = 27

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!