#include <stdio.h>
int main()
{
int score;
char grade;
// μ¬μ©μλ‘λΆν° μ μ μ
λ ₯λ°κΈ°
printf("νμμ μ μλ₯Ό μ
λ ₯νμΈμ : ");
scanf("%d", &score);
// μ€μ²©λ μΌν μ°μ°μλ₯Ό μ¬μ©νμ¬ νμ νλ³
grade = (score >= 90) ? 'A':
(score >= 80) ? 'B':
(score >= 70) ? 'c':
(score >= 60) ? 'D': 'F';
printf("νμ : %c\n", grade);
return 0;
}