Question: Lab Activity #4 Ordering Pizza Write a main method to prompt the user for an integer that represents the number of large pizzas to be
Lab Activity #4 Ordering Pizza
Write a main method to prompt the user for an integer that represents the number of large pizzas to be ordered ($9.99 each). Calculate the sub-total before sales tax. Calculate the total due by applying a sales tax of 6%. Use the NumberFormat to display currency.
Sample Output
How many pizzas? 3
Sub Total: $29.97
Total Due: $31.77
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
