Question: 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 and

 Write a main method to prompt the user for an integer

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 and display the sub-total before sales tax. Calculate and display 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 LAB ACTIVITY 5.22.1: duringLab: Ordering Pizza 0/4 Main.java Load default template.. 1 public class Main f 2 public static void main(String] args) 4 /* Type your code here

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!