This commit is contained in:
Samuel Webb 2024-07-11 19:57:48 -04:00
parent e8f09190d6
commit 5b51d6f393
46 changed files with 83 additions and 65 deletions

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