Help With data Programming,c++,Python ,Java ProgrammingHelp With
Web|Help With Processing
Lesson 1.4 Making Decisions
Major Assignment
Activity 1.4: Making a Pizza!
(Due on Sunday, February 28 at midnight)
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 up to and including 20 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 up to and including 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 (project), 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:
1
2
Checklist:
2 Flowchart
1 Input display correctly chosen i.e. GUI
1 Comments and spacing
1 Rounded to 2 decimal places
1 Constants with CAPITALS
2 if, else if … correct for 3 sizes
1 Output display correctly chosen i.e. setText()
1 Compiles and runs error-free
3
Contact Us(Ghostwriter Service)
- QQ:99515681
- WeChat:codinghelp
- Email:99515681@qq.com
- Work Time:8:00-23:00
-
Help With Ece 380,Help With Java/Pytho...
2023-02-23
-
Help With Econ5102,Python/Java Program...
2023-02-23
-
Cisc 360Help With ,C/C++ Programminghe...
2023-02-23
-
Help With Stat 411,Help With Java/Pyth...
2023-02-22
-
Comp90048help With ,Help With Java,C/...
2023-02-22
-
Help With Ma1510,Help With C++/Java Pr...
2023-02-21
-
Csci561 Programminghelp With ,Help Wit...
2023-02-21
-
Econ 178Help With ,Help With R Program...
2023-02-20
-
Help With Ecmm461,C/C++ Programminghel...
2023-02-20
-
Msmk7021help With ,C++,Python Program...
2023-02-20
-
Comp5400help With ,Help With Java/Pyth...
2023-02-20
-
Cse214help With ,Help With C/C++,Java...
2023-02-20
-
Help With Math5965,Help With R Program...
2023-02-20
-
Help With Comp9012,Help With Python Pr...
2023-01-23
-
Comp9414: Artificial Intelligence Assi...
2023-01-05
-
Comp9444 Assignment 1 Neural Networks ...
2023-01-05
-
Final Assignment - Apply All Your Skil...
2023-01-05
-
Data7202 Statistical Methods For Data ...
2023-01-04
-
Comp307/Aiml420 Assignment 4: Planning...
2023-01-04
-
Comp3170 Assignment 3 Moonlit Forest
2023-01-04
Contact Us - Email:99515681@qq.com WeChat:codinghelp
Programming Assignment Help!