일상

2741 : N 찍기

STUDYING,,, 2021. 7. 26. 23:08
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws Exception {

		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		int sum = 0;
		for (int i = 1; i <= num; i++) {
			System.out.println(i);
		}

	}
}

'일상' 카테고리의 다른 글

11021 : A + B - 7  (0) 2021.07.26
2742 : 기찍 N  (0) 2021.07.26
8393 : 합  (0) 2021.07.26
10950 : A + B - 3  (0) 2021.07.26
2739 : 구구단  (0) 2021.07.26