mirror of
https://git.aramjonghu.dev/AramJonghu/ziglings.git
synced 2026-09-01 16:03:31 +02:00
Apply zig fmt to exercises
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user