MapleStory Finger Point

๐Ÿƒ‍โ™‚๏ธBaekjoon/C++

[9498/Cpp] ์‹œํ—˜ ์„ฑ์ 

HYEJU01 2021. 9. 3. 03:45
#include <stdio.h>
using namespace std;

int main(){
int a;

scanf("%d", &a);

if (a<=100 && a>=90)
    printf("A");
else if (a<=89 && a>=80)
    printf("B");
else if (a<=79 && a>=70)
    printf("C");
else if (a<= 69 && a>=60)
    printf("D");
else
    printf("F");


return 0;
}