[BOJ 9498] 시험 성적

View as PDF

Submit solution

Points: 1
Time limit: 1.0s
Memory limit: 128M

Problem type
Allowed languages
Assembly, Awk, C, C++, Java, Pascal, Perl, Python, Sed, Text

시험 점수를 입력받아 90 \( 100점은 A, 80 \) 89점은 B, 70 \( 79점은 C, 60 \) 69점은 D, 나머지 점수는 F를 출력하는 프로그램을 작성하시오.

입력 형식

첫째 줄에 시험 점수가 주어진다. 시험 점수는 0보다 크거나 같고, 100보다 작거나 같은 정수이다.

출력 형식

시험 성적을 출력한다.

예제 입력

100

예제 출력

A

Comments

There are no comments at the moment.