aboutsummaryrefslogtreecommitdiff
path: root/exercises/011_while.zig
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/011_while.zig')
-rw-r--r--exercises/011_while.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/011_while.zig b/exercises/011_while.zig
index 674d904..1706e67 100644
--- a/exercises/011_while.zig
+++ b/exercises/011_while.zig
@@ -21,7 +21,7 @@ pub fn main() void {
var n: u32 = 2;
// Please use a condition that is true UNTIL "n" reaches 1024:
- while (???) {
+ while (n < 1024) {
// Print the current number
std.debug.print("{} ", .{n});