Apply zig fmt to exercises

This commit is contained in:
Will Clardy 2021-02-15 16:55:44 -05:00
parent e58f155bd6
commit 2f821bd5e8
37 changed files with 152 additions and 144 deletions

View file

@ -16,13 +16,12 @@ pub fn main() void {
std.debug.print("A Dramatic Story: ", .{});
for (???) |???| {
if(scene == 'h') std.debug.print(":-) ", .{});
if(scene == 's') std.debug.print(":-( ", .{});
if(scene == 'n') std.debug.print(":-| ", .{});
if (scene == 'h') std.debug.print(":-) ", .{});
if (scene == 's') std.debug.print(":-( ", .{});
if (scene == 'n') std.debug.print(":-| ", .{});
}
std.debug.print("The End.\n", .{});
}
//
// Note that "for" loops also work on things called "slices"
// which we'll see later.