Algorism

백준알고리즘_2742

자라나라나무나무나 2022. 2. 9. 10:21

import java.io.IOError;
import java.util.Scanner;

public class Baek_2742 {

    public static void main(String[] args) throws IOError {

        Scanner sc = new Scanner(System.in);
        int num = sc.nextInt();
        sc.close();

        for (int i = num; i > 0; --i) { // --i => 내림차순
            System.out.println(i);
        }
    }
}