Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Cookout Calculator Write a Python program providing cost estimates for your potential customers. Your program should ask a customer for Name Number of people attending
Cookout Calculator
Write a Python program providing cost estimates for your potential customers. Your program should ask a customer for
- Name
- Number of people attending the cookout
- Available food item(s) hot dogs and/or burgers
- Estimate the number of hot dogs or burgers each person might eat
- Duration of the cookout (how long will the party last?)
- Other questions (that you like to ask)
Determine
- Numbers of packages of hot dogs, burgers and buns that you will need to purchase, with minimum amount of leftovers
- Total cost (out of pocket) to host this cookout
- Asking price (that you will charge) for the cookout
- Total cost + profit margin
Assumptions
- Hot dogs come in packages of 8 | $4 per package
- Burgers come in packages of 6 | $6 per package
- Buns come in packages of 12 | $3 per package
- We can use the same bun for either a hot dog or burger
- You charge $25 per hour for the cookout
- Your profit margin is 15% (add this cost to your asking price)
Output
- Minimum numbers of packages of hot dogs and burgers required
- Minimum number of packages of buns required
- Numbers of leftovers (hot dogs, burgers and buns)
- Total cost of cookout (your out of pocket cost)
- Asking price to bill your customer for the cookout
- Additional information where applicable
Requirements
- Your asking price must be as competitive as possible minimum amout of leftovers
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