Home /
Expert Answers /
Computer Science /
the-given-problem-should-be-solved-in-python-please-provide-the-source-code-and-sample-run-as-part-pa565
(Solved): The given problem should be solved in PYTHON.
Please provide the SOURCE CODE and SAMPLE RUN as part ...
The given problem should be solved in PYTHON.
Please provide the SOURCE CODE and SAMPLE RUN as part of your
solution.
Write a Python program that will determine food costs for a Conference. The Conference 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 salad costs \( \$ 7.99 \) per person. The pizza has 12 slices per pizza. Each person ordering pizza will be allotted three (3) slices of pizza. The cost of the pizza is \( 15.99 \) (only whole pizza's can be ordered). If more than ten (10) pizzas are ordered, then there will be a \( 15 \% \) discount. If more than 10 salads are ordered there will be a \( 15 \% \) discount) 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. Run the program 3 times and include three screenshots of the output - once with no discounts, once with pizza or salad discount and finally one that will have discounts for pizza and salad.
\( \begin{array}{lr}\text { Pizza cost } & \$ 175.89 \\ \text { Salad cost } & 55.93 \\ \text { Total } & \$ 231.82 \\ \text { Discount } & -26.38 \\ \text { Deliver } & 20.00 \\ \text { Total amount due } & \$ 225.44\end{array} \)
#Input from user for no. of person orders no. of meals No_of_person_pizza_order=int(input("Number of pizza orders ")) No_of_person_salad_order=int(input("Number of salad orders ")) # count number of pizzas can be ordered if every pe