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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!