Miguel K.
asked 11/08/20Pizzeria Program using Python and Postgresql
Problem: Jeff has a small restaurant which serves 3 different types of pizza (Pizza A, B, and C). In order to cut down on costs, the owner of the pizzeria wants to know how much they spend each day for toppings by keeping track of each topping as each topping has its own cost.
Technology needed:
-Django for the program
-Postgresql for database
Output:
Every time there is an order, Jeff will add a pizza (Pizza A, B, or C) and will input how many was ordered for that pizza.
By the end of the day, Jeff will click on the "Report" button and the system will show the ff info:
- How many pizzas in total were sold for that day
- How many pizzas in total were sold for that day per pizza type (see below):
- How much they spent in total
- How much they earned in total (net)
- How much per topping was spent
- If Jeff is only able to sell less than 5 pizzas by the end of the day, it will tell him that he has failed
Pizza Types(cost per sale):
- Pizza A (has Topping A, B, and C): $ 30.50
- Pizza B (has Topping A only): $ 24.50
- Pizza C (has Topping B and C only): $ 28.50
Toppings Type(cost per pizza):
- Topping A: $ 5.99
- Topping B: $ 11.99
- Topping C: $ 8.99
Also, include the source code and google drive link of the Python program. Thanks.
1 Expert Answer

Patrick B. answered 11/13/20
Math and computer tutor/teacher
I am very sorry, Lo Siento!
Uploaded source code for you in C++ under this link.
Still looking for help? Get the right answer, fast.
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.
Justin F.
This is unfortunately too large of an assignment for a free answer. Just schedule a lesson though and I'd be happy to help!11/12/20