@@ -0,0 +1,2098 @@
+import java.util.Scanner;%0A%0Apublic class Vacation %7B%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        int numAdults = Integer.parseInt(scanner.nextLine());%0A        int numStudents = Integer.parseInt(scanner.nextLine());%0A        int numNights = Integer.parseInt(scanner.nextLine());%0A        String transport = scanner.nextLine();%0A%0A        double expenses = 0;%0A        double hotel = 0;%0A        double commission = 0;%0A        double sumAll = 0;%0A        %0A        switch (transport) %7B%0A            case %22airplane%22:%0A                expenses = ((numAdults * 70.00) + (numStudents * 50.00)) * 2;%0A                hotel = numNights * 82.99;%0A                commission = (expenses + hotel) * 0.10;%0A                sumAll = expenses + hotel + commission;%0A                System.out.printf(%22%25.2f%22, sumAll);%0A                break;%0A%0A            case %22train%22:%0A                if ( numAdults + numStudents %3E 50) %7B%0A                    expenses = ((numAdults * 24.99 * 0.50) + (numStudents * 14.99 * 0.50)) * 2;%0A                %7D%0A                else %7B%0A                    expenses = ((numAdults * 24.99) + (numStudents * 14.99)) * 2;%0A                %7D%0A                hotel = numNights * 82.99;%0A                commission = (expenses + hotel) * 0.10;%0A                sumAll = expenses + hotel + commission;%0A                System.out.printf(%22%25.2f%22, sumAll);%0A                break;%0A%0A            case %22bus%22:%0A                expenses = ((numAdults * 32.50) + (numStudents * 28.50)) * 2;%0A                hotel = numNights * 82.99;%0A                commission = (expenses + hotel) * 0.10;%0A                sumAll = expenses + hotel + commission;%0A                System.out.printf(%22%25.2f%22, sumAll);%0A                break;%0A%0A            case %22boat%22:%0A                expenses = ((numAdults * 42.99) + (numStudents * 39.99)) * 2;%0A                hotel = numNights * 82.99;%0A                commission = (expenses + hotel) * 0.10;%0A                sumAll = expenses + hotel + commission;%0A                System.out.printf(%22%25.2f%22, sumAll);%0A                break;%0A        %7D%0A    %7D%0A%7D%0A

Create 03.Vacation.java