34. break가 빠진 switch 문
다음 Java 프로그램의 실행 결과를 쓰시오.
1public class Main {2public static void main(String[] args) {3int total = 0;4for (int day = 1; day <= 3; day++) {5switch (day) {6case 1:7total += 1;8case 2:9total += 10;10break;11case 3:12total += 100;13default:14total += 1000;15}16System.out.println(day + ": " + total);17}18}19}