the_end function added
@@ -460,6 +460,10 @@ const exercises = [_]Exercise{
// .output = "ABCDEF",
// .@"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.
@@ -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", .{});
+}
@@ -0,0 +1,2 @@
+8a9
+> // gollum's line ;-)