Question: 2. (5 pts) The following partial code shows a menu of dessert choices available for a customer. Fill in the missing blanks so that the
2. (5 pts) The following partial code shows a menu of dessert choices available for a customer. Fill in the missing blanks so that the user can repeatedly order items until choosing to cancel. int main Char-selection while ( // Display dessert menu printf ("Today's desserts: In") printf ("a. Muffin In"); printf("b. Cookie "); printf ( "c. Cancel "); // Prompt and read in user's selection printf ("Enter your selection (a-c):") scanf(" %c", &selection); // Further action based on user's selection 3, Mark up the code as necessary to use a do-while loop instead of the while loop in problem #2 above. (5 pts)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
