From af00ed9db0d7025596c294ec5c85bb5d381f9d80 Mon Sep 17 00:00:00 2001 From: stopmin Date: Sat, 8 Jul 2023 00:36:27 +0900 Subject: [PATCH] solved:Chapter4-4 --- src/main/java/Problem/stopmin/Chapter4/Q04.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/Problem/stopmin/Chapter4/Q04.java b/src/main/java/Problem/stopmin/Chapter4/Q04.java index 4fa3bbc..5e58082 100644 --- a/src/main/java/Problem/stopmin/Chapter4/Q04.java +++ b/src/main/java/Problem/stopmin/Chapter4/Q04.java @@ -7,5 +7,8 @@ public class Q04 { */ public static void main(String[] args) { // TODO: for문을 사용해 1부터 100까지의 숫자를 출력해 보자. + for (int i = 1; i <= 100; i++) { + System.out.println(i); + } } }