diff options
| author | Chris Boesch <[email protected]> | 2023-04-19 22:09:32 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-19 22:09:32 +0200 |
| commit | 4435cebe7af97e32f5915b4edcb3c7fe97d8344d (patch) | |
| tree | 95124154c67e04265e33a2ad10755787627b0ac9 /build.zig | |
| parent | 2ed24ab3cfffdf6181462d118157094fdf2f5128 (diff) | |
| parent | d6d30934dba19bcc5e44c305f789625414e06f67 (diff) | |
| download | ziglings-4435cebe7af97e32f5915b4edcb3c7fe97d8344d.tar.xz ziglings-4435cebe7af97e32f5915b4edcb3c7fe97d8344d.zip | |
Merge pull request #247 from chrboesch/formatting
added first formatting exercise
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -515,6 +515,10 @@ const exercises = [_]Exercise{ .output = "Is this a pangram? true!", }, .{ + .main_file = "099_formatting.zig", + .output = "\n X | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 \n---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+\n 1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 \n\n 2 | 2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 \n\n 3 | 3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 \n\n 4 | 4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 \n\n 5 | 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 \n\n 6 | 6 12 18 24 30 36 42 48 54 60 66 72 78 84 90 \n\n 7 | 7 14 21 28 35 42 49 56 63 70 77 84 91 98 105 \n\n 8 | 8 16 24 32 40 48 56 64 72 80 88 96 104 112 120 \n\n 9 | 9 18 27 36 45 54 63 72 81 90 99 108 117 126 135 \n\n10 | 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 \n\n11 | 11 22 33 44 55 66 77 88 99 110 121 132 143 154 165 \n\n12 | 12 24 36 48 60 72 84 96 108 120 132 144 156 168 180 \n\n13 | 13 26 39 52 65 78 91 104 117 130 143 156 169 182 195 \n\n14 | 14 28 42 56 70 84 98 112 126 140 154 168 182 196 210 \n\n15 | 15 30 45 60 75 90 105 120 135 150 165 180 195 210 225 \n\n", + }, + .{ .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.", }, |
