Question: The input will be formatted as a space - separated list of numbers representing the number of cups, candy bars, bags of popcorn, and bottles

The input will be formatted as a space-separated list of numbers representing the number of cups, candy bars, bags of popcorn, and bottles of water remaining. For example:
368453231576
Would mean you have 368 cups, 453 candy bars, 231 bags of popcorn, and 576 bottles of water. Your program should then calculate:
How many of each item you need to restock
The total cost to restock
The average number of each item sold per day (the theater is open 7 days a week)

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!