From cdfc8f7537e3b177b1dc87b10d23dc1872e3ee17 Mon Sep 17 00:00:00 2001 From: lalmendra <109772135+lalmendra@users.noreply.github.com> Date: Mon, 10 Aug 2026 00:51:14 -0300 Subject: [PATCH] Update challenges.md Challenge 4 will not print anything if it starts at 0, as 0 % 3 is also 0. Maybe it was your goal, but don't you think it would be better to start at 1, so it will print 1, 2, and break at 3? --- src/loops/challenges.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/loops/challenges.md b/src/loops/challenges.md index f70f187..600fe5c 100644 --- a/src/loops/challenges.md +++ b/src/loops/challenges.md @@ -62,7 +62,7 @@ What will this program output when run? Write down your guess and then try runni ```java,editable void main() { - int x = 0; + int x = 1; while (x < 10) { if (x % 3 == 0) { break;