본문 바로가기
with my rubber duck/codingTest

백준 2742 기찍 N

by stilinski 2022. 3. 29.
728x90

 

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int input = sc.nextInt();
		for(int i = input;i > 0; i--) {
			System.out.println(i);
		}
	}
}

쉽네

728x90

댓글