Question: In this assignment, you will be writing a menu - driven program to calculate how much a customer will pay once they are done ordering
In this assignment, you will be writing a menudriven program to calculate how much a customer will pay once they are done ordering food at a food cart. You will give the user a menu with some choices, and let them pick a choice. Based on the choice they pick, you will ask them some questions and give them results. This process will repeat until they choose to quit the program. The purpose of this assignment is to modularize your program.
After completing this assignment you will be able to:
Write functions to modularize your program and reduce redundancy
Write functions that take parameters by value and return values
Write void functions that take nothing and return nothing
Use a dowhile loop to display a menu to the user
Use the correct exit condition to exit out of the loop, no breaks or returns inside the loop.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
