Question: This is for java begginers and must use the following format. Also can not use (array list, collections, comparator) only use java.util.scanner. Public static void

This is for java begginers and must use the following format. Also can not use (array list, collections, comparator) only use java.util.scanner.
Public static void main
Public static ...
Public static...
.
.
.
}
 This is for java begginers and must use the following format.

You work for a Cookie Company (no not the bad internet cookies, but the yummy edible kind!) This company produces different types of cookies: You are asked by your boss to write a program which can generate a weekly report for how many cookies were sold. The program should do the following: Ask the user for how many different types of cookies are produced. Ask the user for the names of each type of cookie. Ask the user for the total number of packages sold for each of the types of cookies. Display a table listing the names of each type as well as how many were sold. The table should also include the total amount sold, as well as the names of th highest and lowest sold. Requirement: Your output should match mine as closely as possible Bonus Points: 1 extra point will be awarded for tables which are sorted Alphabetically. Looka the section in the textbook on sorting arrays. 1 extra point will be awarded for tables which are perfectly aligned no matter th length of the names of the cookies. (This also includes the correct number of hyphen () characters). HINT Getting creative with printf will help to display th table with the correct spacing. Sample Output

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!