Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Specification Write a program that will gather information for up to 10customers

ID: 3610842 • Letter: S

Question

Specification

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

Explanation / Answer

please rate - thanks you will have to complete entering user info and doing whateverelse has to be done with the bill import java.util.*; public class untitled { public static void main(String[] args) {int choice,count=0,i,entered=0; double bill[]=new double[10]; double total=0,average=0; Scanner in=new Scanner(System.in); System.out.println("how many customers are there (max 10):"); count=in.nextInt(); while(count10)        { System.out.println("Illegalentry-try again! ");          System.out.println("how many customers are there (max 10): ");         count=in.nextInt();           } choice=menu(in); while(choice!=3)    {if(choice==1)         if(entered==count)              System.out.println("Maximumcustomers already entered ");         else            {bill[entered]=enterinfo(in);              entered++;              }        else            {if(entered==0)                 average=0;              else                {total=0;                 for(i=0;i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote