백준: 2742(기찍 N)

강지안·2023년 9월 4일
0

baekjoon

목록 보기
181/186

문제

코드

import java.util.Scanner;

public class q2742 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int N = sc.nextInt();

        for(int i=N; i>0; i--) System.out.println(i);
    }
}

0개의 댓글