Question: Write a Python program that will determine food costs for the KSU CCSE hackathon. The hackathon will have pizza and salad option. The program should

Write a Python program that will determine food costs for the KSU CCSE hackathon.
The hackathon will have pizza and salad option. The program should ask the number of
people who ordered pizza and the number of people who ordered a salad. Each person
who orders pizza is allocated three (3) slices of pizza. Each salad costs $7.99 per
person. Each pizza costs $15.99 and has 12 slices per pizza. Only whole pizzas can be
ordered.
If more than ten (10) pizzas are ordered, then there will be a 15% discount to the pizza
cost. If more than 10 salads are ordered there will be a 15% discount to the salad cost.
The delivery charge is 7% of the entire order prior to discounts or $20 minimum.
Display the number of each meals ordered (input is not considered as a display/output).
Determine and display the number of pizzas needed. Display the cost of the pizza's
and display the cost of salads (before any discounts). Display the discount amount and
delivery charge. Finally display the total amount due. You do not need to round or
truncate your output.
Save your program as
Lab2.py and upload your source file to the appropriate dropbox
in GradeScope, NOT D2L!
Example of input
Number of pizza orders 43
Number of salad orders 7
Example of output
 Write a Python program that will determine food costs for the

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!