@@ -0,0 +1,789 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        Scanner sc = new Scanner(System.in);%0A%0A        for (int i = 1; i %3C= 4; i++) %7B%0A%0A            int ticket = sc.nextInt();%0A            int quantity = sc.nextInt();%0A            int amount = 0;%0A%0A            switch (ticket) %7B%0A%0A                case 1 :%0A                    amount = 6000 * quantity;%0A                    break;%0A                case 2 :%0A                    amount = 4000 * quantity;%0A                    break;%0A                case 3 :%0A                    amount = 3000 * quantity;%0A                    break;%0A                case 4 :%0A                    amount = 2000 * quantity;%0A                    break;%0A%0A            %7D%0A%0A            System.out.println(amount);%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Create : 0277