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 spaceseparated list of numbers representing the number of cups, candy bars, bags of popcorn, and bottles of water remaining. For example:
Would mean you have cups, candy bars, bags of popcorn, and 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 days a week
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
