Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started