This commit is contained in:
Armin Friedl 2025-01-18 15:42:28 +01:00
parent 20494cf726
commit 8e92db2003

View file

@ -18,7 +18,7 @@ pub fn main() void {
// Oh dear! This while loop will go forever?!
// Please fix this so the print statement below gives the desired output.
while (true) : (n += 1) {
if (???) ???;
if (n == 4) break;
}
// Result: we want n=4