Create the three (3) programs based on the specifications below.
Make sure your programs:
- Provide a pleasant user experience
- Contain appropriate comments throughout the code
- Adheres to proper style/conventions (e.g. indentation, case of identifiers, etc.)
Program #1 (40 points)
Create an application called PizzaOrder.java based on this specification.
- Ask which size pizza a customer wants. They should type in a single character.
Choices: (S)mall, (M)edium, (L)arge
- Ask which type of crust again using a single character.
Choices: (H)and-tossed, (D)eep-dish
- Ask if the user wants each of the toppings in the chart below using (Y)es or (N)o questions.
- Output the order details in a meaningful way. Remember you have “artistic” control over this part. Make sure it has all relevant data that an employee or customer might need including, but not limited to: pizza order details, subtotal, sales tax, and grand total.
- Ask how much payment is received from the customer.
- Output change due the customer.
|Toppings Additional Cost|
|Size||Cheese Pizza Cost *||Pepperoni||Sausage||Onion||Mushroom||Extra Cheese|
- Hand-Tossed or Deep-Dish price is the same
- Sales tax rate 9.25%
Make sure your program has these components:
- A pleasant user experience
- Appropriate comments throughout your code
- Proper style/conventions (e.g. indentation, case of identifiers, etc.)
Program #2 (20 points)
Create an application called c based on this specification.
Put the name of your favorite animal in a variable called “name”. Using a WHILE loop, ask the user to guess an animal’s name until they get it correct. After they get it correct, tell them how many tries it took to guess.
Program #3 (20 points)
Create an application called BeerSongLoop.java based on this specification.
Using a FOR loop, create the song 99 Bottles of Beer on the Wall counting down from 99 to 0:
99 bottles of beer on the wall.
99 bottles of beer.
Take one down; pass it around.
98 bottles of beer on the wall.
Get assistance from our top rated tutors at Collegly ⭐⭐⭐⭐⭐