Lab #15 (Exercise 16-2)
Create a Pizza Calculator application
Due Date: Wednesday of Week 5
20 points
In this lab, you'll devlop an application that calculates the price of a pizza based on its size and toppings. the user interface for this application should look something like this:
- Decide what layout manager or combination of layout managers you want to use to implement the user interface, and then sketch the user interface and its rows and columns.
- Open the PizzaOrderApp.java file. This file contains a public PizzaOrderApp class with an empty main method.
Item | Price |
---|---|
Small pizza | $6.99 |
Medium pizza | $8.99 |
Large pizza | $10.99 |
Sausage | $1.49 |
Pepperoni | $1.49 |
Salami | $1.49 |
Olives | $0.99 |
Mushrooms | $0.99 |
Anchovies | $0.99 |
- Name of program
- Team's name with all the names of the members (e.g. Team A: John Doe, Jane Smith, etc.)
- Current Date
- Computer system and compiler you are using
- Brief description of the program
Compile and run the Java program.
Take a screen capture by hitting simultaneously the keys Alt and Print Screen (Prt Sc) of the output results (console) and paste it in MS Paint. Save it as a gif file.
When you are ready, upload the java program and the gif file by clicking the link below:I cannot grade if I don't get the files and receive your email.