Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please be sure to validate your data; use proper form and structure of a program; and provide professional looking output. Write a program that lets

Please be sure to validate your data; use proper form and structure of a program; and provide professional looking output.
Write a program that lets a maker of ice cream keep track of sales for five different flavors of ice cream: vanilla, butter pecan, superman, chocolate fudge, strawberry. The program must use arrays to store the names of the types of ice cream, and the number of scoops sold. The user is to enter the number of scoops sold for each flavor for the month. Once the data has been entered, the program should produce a report that displays the number of scoops sold for each flavor, the total scoops sold, the names of the best-selling flavors and the name of the worst selling flavors. If two types of ice cream both sold the same number of best or worst selling, then you have to display both (e.g. If superman and strawberry both sold zero scoops, then you will have to list superman and strawberry as the worst selling.)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Describe the Bank of Canada / Government of Canada Bond Auctions ?

Answered: 1 week ago

Question

5. Have you stressed the topics relevance to your audience?

Answered: 1 week ago