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 = 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 int main { for(int i=30;i>=5;i--5) { if(%100) continue; for(int j=1;j

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!