Question: 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

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!