Merge pull request #168 from chrboesch/end

the_end function added
This commit is contained in:
Chris Boesch 2023-01-22 13:44:10 +01:00 committed by GitHub
commit 37326e3da2
3 changed files with 14 additions and 0 deletions

View file

@ -460,6 +460,10 @@ const exercises = [_]Exercise{
// .output = "ABCDEF", // .output = "ABCDEF",
// .@"async" = true, // .@"async" = true,
// }, // },
.{
.main_file = "999_the_end.zig",
.output = "This is the end for now!\nWe hope you had fun and were able to learn a lot, so visit us again when the next exercises are available.",
},
}; };
/// Check the zig version to make sure it can compile the examples properly. /// Check the zig version to make sure it can compile the examples properly.

View file

@ -0,0 +1,8 @@
// This is the end for now!
// More exercises will follow...
const print = @import("std").debug.print;
pub fn main() void {
print("\nThis is the end for now!\nWe hope you had fun and were able to learn a lot, so visit us again when the next exercises are available.\n", .{});
}

View file

@ -0,0 +1,2 @@
8a9
> // gollum's line ;-)