Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please use Python 2.20 LAB*: Program: Pizza Party Weekend Program Specifications. Write a program to calculate the cost of hosting three pizza parties on Friday,

image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
please use Python
2.20 LAB*: Program: Pizza Party Weekend Program Specifications. Write a program to calculate the cost of hosting three pizza parties on Friday, Saturday and Sunday Read from input the number of people attending the average number of slices per person and the cost of one pizza Dolar values one outout with two decimal. For example.print("Cost: ${costt.2t)"). Nolegamed for incremental development Complete each step and subrnit for grading before starting the next utep Only portion otet och but confirm progress Step 1 (pt) Rend from input the number of people (int), average slices per person (ost) and cost of one pizza (float) Calculate the number of whole pizzas needed ( ces per pozn). There will likely be leftovers for breakfast. HintUse the cold function from the math Abrary to round up to the nearest whole number and convert to an int. Calculate and output the cost for all pizzas Submit for grading to confirm test 1 passen Exif the input is 10 2.5 10.50 The output is Friday Night Party Step 2 (2 pts) Calculate and output the sales tax (7) Calculate and output the delivery charge (20% at cost including tax) Submit for grading to confirm 2 tests pass Ex: If the input is u ng to wra e se nine - Step 2 (2 pts). Calculate and output the sales tax Calcutand output the every charge (20 of continuing taxmitor grading to confirm2test pas If the inputs 102, 10:50 The Output Triday the Party SE642.00 DY Steppiccand out in total including per tax and every Suomt for grading to confirm tetspoor Exif the input is The output is Friday Night Party $42.00 TARI 31.03 Delivery: 10.99 Totalt 39393 Step 4 (2 pts). Repeat steps 1 - 3 with additional inputs for Saturday night (one order per ine) Martin and out parte total for both parties Submit for grading to confirm 5 tests pass Home 2.0 LAB Program Pra Party Weekend Bootcatalog HEAD Scale Step 412 pts). Repeat steps 1 - 3 with additional inputs for Saturday night one order perine Mantand out to both ties Submit for grading to confiestas Exif the input 10.95 14.05 The output is Friday Night 73 Saturday Night Party Taxi 5.20 Delivery 319.20 Total: 0119.32 Moeten totalt 157.35 Step 5 (2 pts). Repeat step 1-3 with additional inputs for Sunday night (one oder perine) Maintain and outout a total forn artis Submit for grading to confum alltests poss Ex If the input 10.95 12.95 22 Program Party Westend yo TAD forme Step 12 pts) Hepat sept.3 with additional vous for Sunday night one repetine Maintain and outdoor partiet Submit for grading to confirmitat Eftinguts 10. 20 21 The out Friday Night Party taturday Night Party P12730 T. blivery 16, Total $99.1 day Night Party PE 544.85 vety 13.60 Total: 57.59 Nekend Total 1199.53

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

Step: 3

blur-text-image

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

Database Processing

Authors: David M. Kroenke, David Auer

11th Edition

B003Y7CIBU, 978-0132302678

More Books

Students also viewed these Databases questions

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago