mycode/Baekjoon/c/9498.c
notalentprogrammer 392adc667e 20250510 beakjoon
2025-05-10 20:06:46 +09:00

9 lines
190 B
C

#include <stdio.h>
int main() {
int n;
char s[11] = "FFFFFFDCBAA";
scanf("%d",&n);
// puts(n>89?"A":n>79?"B":n>69?"C":n>59?"D":"F");
printf("%c",s[n/10]);
return 0;
}