Question: switch ( choice ) / / calls functions for each option { case 1 : average ( ) ; break; case 2 : greeting (

switch(choice)// calls functions for each option
{
case 1:
average();
break;
case 2:
greeting();
break;
case 3:
brownies(); //Fixed it by placing a semicolon on the end
break;
case 4:
drawTriangle();
break;
case 5:
timeConverter();
break;
case 6:
percentageScore();
break;
case 99:
exit(1);
default

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!