Apply zig fmt to exercises
This commit is contained in:
parent
e58f155bd6
commit
2f821bd5e8
37 changed files with 152 additions and 144 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue