Question: Help please, need a program in JAVA using ARRAYS and METHODS only! Thank you! Problem 03: Cookie Calculations (4 points) You work for a Cookie

Help please, need a program in JAVA using ARRAYS and METHODS only!Thank you! Problem 03: Cookie Calculations (4 points) You work for aCookie Company (no not the bad internet cookies, but the yummy edibleHelp please, need a program in JAVA using ARRAYS and METHODS only! Thank you!

Problem 03: Cookie Calculations (4 points) 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. . The table should also include the total amount sold, as well as the names of the 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. Look at the section in the textbook on sorting arrays. 1 extra point will be awarded for tables which are perfectly aligned no matter the 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 the table with the correct spacing. Sample Output: How many types of cookies were produced?: 7 Enter the names of the cookies one per line

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!