백준: 2741(N 찍기)

강지안·2023년 6월 22일
0

baekjoon

목록 보기
68/186

문제

코드

import java.util.Scanner;

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

        for(int i=1; i<N+1; i++)
            System.out.println(i);
    }
}

0개의 댓글