22. switch-case에서 break가 빠졌을 때
다음 C 프로그램의 실행 결과를 쓰시오.
1#include <stdio.h>23int main() {4int level = 2;5int point = 0;6switch (level) {7case 1:8point += 1;9case 2:10point += 10;11case 3:12point += 100;13break;14case 4:15point += 1000;16default:17point += 5;18}19int code = 9;20int bonus = 0;21switch (code % 4) {22case 0:23bonus = 50;24break;25default:26bonus += 3;27case 2:28bonus *= 2;29}30printf("%d %d\n", point, bonus);31return 0;32}