Order Now

Create PizzaSale.java that allows the user to get pizza sales totals.

Create PizzaSale.java that allows the user to get pizza sales totals.

Assignment – Annotations & JavaDoc Comments

Problem 1 – Create PizzaSales.java that allows the user to get pizza sales totals.

Create an application to allow Northside Pizza to total up pizza sales for the day.  This program needs to accept a total number of pizza sales based on the number of sales entered by the user.

Use an array to store each pizza sales amount. Print out the total sales for the day.

You must use the ReadFloatFromUserMethod and ReadIntegerFromUser methods.

Print out the highest sale for the day. Print out the lowest sale for the day. Print the average price for an order for the day.

Northside Pizza gives 2% commission of total sales to all the employees working that day. Allow the user to enter the number of employees working for the day. Print the total each employee will receive as commission.

You must include at least 3 methods in your program.

Be sure to include the JavaDoc comments above the class name and all method names.

 

For example:

Enter the total number of sales for the day:

Enter ticket # amount: <<<this needs to loop for x# of times based on user input

Total sales for the day:

Highest sale for the day:

Lowest sale for the day:

Average sale amount for the day:

Total employee commission is:

Per employee commission amount:

 

Create PizzaSale.java that allows the user to get pizza sales totals.

 

 

 

Order Now

Calculate Your Order Price


Price (USD)
$