Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You've been hired by Debug's Pizzeria to create a Pizza Party Planner ( PPP ) to host on their website. The PPP helps pizza party
You've been hired by Debug's Pizzeria to create a Pizza Party PlannerPPP to host on their website.
The PPP helps pizza party hosts determine how many pizzas to order, and also helps Debug's employees know how much of each ingredient is required to fulfill the orderwell just focus on the sauce for now
The PPP will prompt a user to enter the number of people attending the pizza party, and their hunger level then output the number of needed pizzas as well as the amount of sauce required.
For the calculation, assume that people eat slices on average and each pizza has slices.
To calculate the amount of sauce, use the area of a circle equationpi r and assume that the radius of each pizza is inches multiplied by the hungerlevel the average number of slices eaten remains the same Round the amount of sauce to the nearest tenth use the builtin round function
Hint: Use the ceil function from the math module to round up the number of pizzas so that enough pizzas are ordered. You can also use pi as well.
Ex: If the input is:
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