목록9498번 (1)
정리하고기록하자
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bgGjDU/btrg1ZLoZOA/fGa3KC2AXC8QjdlxgLWGS1/img.jpg)
백준 - 알고리즘 if문 시험 성적 (9498) 문제 문제 : 시험 점수를 입력받아 90 ~ 100점은 A, 80 ~ 89점은 B, 70 ~ 79점은 C, 60 ~ 69점은 D, 나머지 점수는 F를 출력하는 프로그램을 작성하시오. import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); if( a >=90 ){ System.out.println("A"); } else if( a>=80 ) { System.out.println("B"); } else if ( a>=70 ) { System.out.println("C")..
백준 - 알고리즘
2021. 10. 4. 14:55