#include <stdio.h>

int main() {
    int i;
    i = 1;
    while(1){
        if (i > 5){
            break;
        }
        printf("%d\n", i);
        i++;
    }

    i=10;
    while(i>=1){
        if (i<3){
            break;
        }
        printf("%d\n", i);
        i--;
    }

    for(i=1;i<11;i++){
        if(i>=3 && i<=5){
            continue;
        }
        printf("%d\n", i);
    }
    
    i = 1;
    switch(i){
        case 1:
            printf("1입니다.\n");
            break;
        case 2:
            printf("2입니다.\n");
            break;
        default:
            printf("기본입니다.\n");
            break;
    }
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: