View the step-by-step solution to:

Question

# correct this code for me pleasepublic class OnlineBookOrderingMbuh { /> public static void main(String[] args)  { //Test Data #1 System.out.println("Test Data #1" + "n"); double BookSubtotal = 68.45; double Tax = 4.44925; double Shipping = 14.75; System.out.print("Number of books purchesed: 5" + "nn"); System.out.print("Book Subtotal: \$" + 68.45 + "nn" ); System.out.print("Tax: \$" + 4.44925 + "nn"); System.out.print("Shipping: \$" + 14.75 + "nn"); System.out.println("---------------------------------" + "n"); double sum = (BookSubtotal + Tax + Shipping); System.out.print("Order Total: " + "\$" + sum + "nn"); System.out.println("_______________________________" + "n"); //Test Data #2 System.out.println("Test Data #2" + "n"); double BookSubtotal1 =125.37; double Tax1 = 8.14905; double Shipping1 = 23.6; System.out.print("Number of books purchesed: 8" + "nn"); System.out.print("Book Subtotal: \$" + 125.37 + "nn" ); System.out.print("Tax: \$" + 8.14905 + "nn"); System.out.print("Shipping: \$" + 23.6 + "nn"); System.out.println("---------------------------------" + "n"); double sum1 = (BookSubtotal1 + Tax1 + Shipping1); System.out.print("Order Total: " + "\$" + sum1); }}i want same answer in the attachment ATTACHMENT PREVIEW Download attachment online booking.PNG

### Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

• ### -

Study Documents

Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

Browse Documents