Add solutions
This commit is contained in:
parent
7417f01d5d
commit
b056b6ad81
96 changed files with 229 additions and 166 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue