BASIC의 개발 노트

1160 : 아르바이트 가는 날 본문

Algorithm/CodeUp

1160 : 아르바이트 가는 날

B2SIC 2019. 4. 21. 20:24
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <stdio.h>
 
int main()
{
    int n;
    scanf("%d"&n);
    
    switch(n){
        case 1:
        case 3:
        case 5:
        case 7:
            printf("oh my god");
            break;
        default:
            printf("enjoy");
            break;
    }
    return 0;
}
 
cs
Comments