#include <stdio.h>

int main() {
    int a;
    scanf("%d", &a);
    if(a >=90){
        printf("A\n");
    }
    else if (a >=80){
        printf("B\n");
    
    }
    else if (a >=70){
        printf("C");
    }
    else if(a >=60){
        printf("D");
    }
    else{
        printf("F\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: