Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Putrid Pizza is a pizzeria that only makes one type of pizza with the following toppings: extra, extra anchovies and extra, extra olives. Customers

image text in transcribedimage text in transcribedimage text in transcribed

Putrid Pizza is a pizzeria that only makes one type of pizza with the following toppings: extra, extra anchovies and extra, extra olives. Customers aren't allowed to order any other type of pizza, but they are allowed to select the size (by indicating the diameter). Your task is to prompt the user for the diameter of pizza he or she would like to purchase, and then calculate the subtotal, the taxes, and the grand total. Your program should also output a message based on the following: If the diameter of the pizza is from 1cm to 15 centimeters, then output a message that reads: "We are going to make you a cute little pizza!" If the diameter of the pizza is greater than 20 cm but less than 40 cm, then output a message that reads: "This will be delicious!" If the diameter of the pizza is greater than 40 cm, then output a message that reads: "Whoa, big pizza! You might need a truck to get this home!" The following lists the charges for a pizza at Putrid Pizza: $0.75 per pizza (for labour) $0.99 per pizza for rent (for the pizza shop) $0.50 per diameter centimeter of pizza (for ingredients) You will submit your completed program, as well as a flowchart that outlines the start, end, processes, input/output and decisions involved in the program. Your program should include a well-designed GUI that uses a form, textboxes, labels and a button. appropriately named components. commenting and appropriate spacing. values that are rounded and formatted to two decimal places. constants for all variables that will not change as the program is run. The following is a screen capture of a sample GUI created for this program: PUTRID PIZZA DIAMETER OF PIZZA (CM): 331 CALCULATE SUBTOTAL ($): TAXES ($): GRAND TOTAL ($): 18.24 2.37 20.61 THIS WILL BE DELICIOUS! X

Step by Step Solution

There are 3 Steps involved in it

Step: 1

I can help you with the Python code for the described program Y... 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

The Analysis Of Biological Data

Authors: Michael C. Whitlock, Dolph Schluter

3rd Edition

131922623X, 978-1319226237

More Books

Students also viewed these Programming questions