From 1e0a951e6c3a15c817988edb573b3f015ccdd628 Mon Sep 17 00:00:00 2001 From: Armin Friedl Date: Sat, 18 Jan 2025 15:40:22 +0100 Subject: [PATCH] 012 --- exercises/012_while2.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/012_while2.zig b/exercises/012_while2.zig index c9905aa..6f8e168 100644 --- a/exercises/012_while2.zig +++ b/exercises/012_while2.zig @@ -25,7 +25,7 @@ pub fn main() void { // Please set the continue expression so that we get the desired // results in the print statement below. - while (n < 1000) : ??? { + while (n < 1000) : (n *= 2) { // Print the current number std.debug.print("{} ", .{n}); }