#include <stdio.h>

int main(){
    printf("나온 점수를 입력하세요\n");
    int a;
    scanf("%d", &a);
    printf("%d점은 ", a);
    a = a / 10;
    switch (a){
        case 10:
            printf("A등급 입니다");
            break;
        case 9:
            printf("B등급 입니다");
            break;
        case 8:
            printf("C등급 입니다");
            break;
        case 7:
            printf("D등급 입니다");
            break;
        default:
            printf("F등급 입니다...");
    }
}

Embed on website

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