[백준 알고리즘] 9498번 시험 성적 (Java)
언어, 알고리즘 공부/백준2020. 5. 8. 23:13[백준 알고리즘] 9498번 시험 성적 (Java)

import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int score = Integer.parseInt(br.readLine()); switch(score/10){ case 9: case 10: System.out.println("A"); break; case 8: System.out.println("B"); break;..

image