014
This commit is contained in:
parent
20494cf726
commit
8e92db2003
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ pub fn main() void {
|
||||||
// Oh dear! This while loop will go forever?!
|
// Oh dear! This while loop will go forever?!
|
||||||
// Please fix this so the print statement below gives the desired output.
|
// Please fix this so the print statement below gives the desired output.
|
||||||
while (true) : (n += 1) {
|
while (true) : (n += 1) {
|
||||||
if (???) ???;
|
if (n == 4) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Result: we want n=4
|
// Result: we want n=4
|
||||||
|
|
Loading…
Add table
Reference in a new issue