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

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
Get step-by-step solutions from verified subject matter experts
