forked from zig/exercises
012 ✅
This commit is contained in:
parent
5c099517a1
commit
2cb6aa0b88
|
@ -25,7 +25,7 @@ pub fn main() void {
|
||||||
|
|
||||||
// Please set the continue expression so that we get the desired
|
// Please set the continue expression so that we get the desired
|
||||||
// results in the print statement below.
|
// results in the print statement below.
|
||||||
while (n < 1000) : ??? {
|
while (n < 1000) : (n *= 2) {
|
||||||
// Print the current number
|
// Print the current number
|
||||||
std.debug.print("{} ", .{n});
|
std.debug.print("{} ", .{n});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user