From 101151f3f130f845a534caa00537846b70150ac7 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Sat, 4 Mar 2023 16:07:53 +0100 Subject: exercise for new for-loops --- build.zig | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build.zig') diff --git a/build.zig b/build.zig index c91449f..36668b4 100644 --- a/build.zig +++ b/build.zig @@ -8,7 +8,7 @@ const print = std.debug.print; // When changing this version, be sure to also update README.md in two places: // 1) Getting Started // 2) Version Changes -const needed_version = std.SemanticVersion.parse("0.11.0-dev.1711") catch unreachable; +const needed_version = std.SemanticVersion.parse("0.11.0-dev.1844") catch unreachable; const Exercise = struct { /// main_file must have the format key_name.zig. @@ -479,6 +479,10 @@ const exercises = [_]Exercise{ .output = "The normalized angle of 765.2 degrees is 45.2 degrees.", .C = true, }, + .{ + .main_file = "095_for_loops.zig", + .output = "1 2 4 7 8 11 13 14 16 17 19", + }, .{ .main_file = "999_the_end.zig", .output = "\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.", -- cgit v1.2.3