#include <stdio.h>

int main() {
    int a;
    for(a=1;a<=10;a++){
        if(a>3){
            printf("나머지 학생은 집에 가세요.\n");
            break;
        }else{
            printf("%d번 학생은 남아서 숙제하세요.\n", a);
        }
    }

    for(a=1;a<=30;a++){
        if(a>=6 && a<=10){
            if(a==7){
                printf("%d번 학생이 결석했습니다.\n", a);
                continue;
            }
            printf("%d번 학생은 조별과제 하세요.\n", a);
        }
     }

    for(a=1;a<6;a++){
        if(a==3){
            continue;
        }
        printf("%d\n", a);
    }
}

Embed on website

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