Apply zig fmt to exercises
This commit is contained in:
parent
e58f155bd6
commit
2f821bd5e8
37 changed files with 152 additions and 144 deletions
|
|
@ -17,8 +17,8 @@ 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(???) ???;
|
||||
while (true) : (n += 1) {
|
||||
if (???) ???;
|
||||
}
|
||||
|
||||
// Result: we want n=4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue