Apply zig fmt to exercises
This commit is contained in:
parent
e58f155bd6
commit
2f821bd5e8
37 changed files with 152 additions and 144 deletions
|
|
@ -19,10 +19,10 @@ function main() void {
|
|||
??? (i <= stop_at) : (i += 1) {
|
||||
if (i % 3 == 0) std.debug.print("Fizz", .{});
|
||||
if (i % 5 == 0) std.debug.print("Buzz", .{});
|
||||
if ( !(i % 3 == 0) and !(i % 5 == 0) ) {
|
||||
if (!(i % 3 == 0) and !(i % 5 == 0)) {
|
||||
std.debug.print("{}", .{???});
|
||||
}
|
||||
std.debug.print(", ", .{});
|
||||
}
|
||||
std.debug.print("\n",.{});
|
||||
std.debug.print("\n", .{});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue