9498.시험성적

Muhly·2023년 3월 22일
0

baekjoon

목록 보기
8/8

안녕하세요🤗10기ssafy를 목표로 열심히 달리고 있는 Muhly라고 합니다.저의 벨로그는 저의 창작물도 있겠지만 다른 유명한 강사님들과 블로거분들의 글들이 많이 포함하고 있습니다.이 벨로그는 저의 스터디 노트와 일상 기록용입니다.같이 공부하실 분 있으시면 연락 부탁드려요_출처:https://st-lab.tistory.com/266

시험성적


package chapter02;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class _9498 {
    public static void main(String[] args) throws IOException {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));


        int score = Integer.parseInt(br.readLine());

       if(score>=90) System.out.println("A");
       else if(score>=80) System.out.println("B");
       else if(score>=70) System.out.println('C');
       else if(score>=60) System.out.println("D");
       else System.out.println("F");
    }
}
profile
https://muhlysstudynote.tistory.com/-> 블로그 이전하였습니다

0개의 댓글