Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions