Write a program that will gather information for up to 10customers (once the max
ID: 3610954 • Letter: W
Question
Write a program that will gather information for up to 10customers (once the maximum has been reached, do not allow any moreinformation to be input). You may prompt for the number ofcustomers that will be entered. The input will include thecustomer’s name, email, and information on how to calculatetheir bill. Once you have this information, you will display amessage for the customer that includes their name, email and totalbill amount.
You will use a function to calculate the customer’s totalbill. This function will also add applicable tax and any fees yourcompany charges. Once you have calculated the bill for thecustomer, you will store ONLY the bill amount in an array.
You will, when the time comes, display for the user the totalnumber of customers entered and the average bill for thoseusers.
You will use a menu to determine what the user wants to do atany given time. The menu will look like the following:
Customer Menu
1) Enter customer information
2) Print average billinformation
3) Exit
You are required to use all of your knowledge acquired in theclass not to exclude loops, functions and arrays.
Explanation / Answer
Write a program that will gather information for up to 10customers (once the max
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.