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 = 2x area = diameter = 21 Q2: write a full trace to find the output of the following program: Note: Answers with only output will be ignored. #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
