#include <stdio.h>

int main() {
    int a;
    while(1){
        printf("점수를 입력하세요.");
        scanf("%d",&a);
        if(a < 0 || a > 100) break;
        if(a >= 80){
            printf("축하합니다.합격입니다.");
        }
        else{
            printf("죄송합니다.불합격입니다.\n");
        }
    }
    return 0;
}

Embed on website

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