From 2f821bd5e83129445179ea7bd81260df74fff295 Mon Sep 17 00:00:00 2001 From: Will Clardy Date: Mon, 15 Feb 2021 16:55:44 -0500 Subject: Apply `zig fmt` to exercises --- exercises/17_quiz2.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'exercises/17_quiz2.zig') diff --git a/exercises/17_quiz2.zig b/exercises/17_quiz2.zig index 339f733..7de7010 100644 --- a/exercises/17_quiz2.zig +++ b/exercises/17_quiz2.zig @@ -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", .{}); } -- cgit v1.2.3-ZIG