반응형
-해법
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int n = in.nextInt();
for(int i=n;i>0;i--){
System.out.println(i);
}
in.close();
}
}
N 찍기 문제 반대로!
반응형