Added quiz 6 (and the trumpeting sounds grow louder)

This commit is contained in:
Dave Gauer
2021-02-28 13:51:33 -05:00
parent 5f7e9389d5
commit 0552a62896
4 changed files with 112 additions and 7 deletions

View File

@@ -252,11 +252,14 @@ const exercises = [_]Exercise{
},
.{
.main_file = "48_methods2.zig",
.output = "Elephant A (U). Elephant B (U). Elephant C (U).",
.hint = "This just needs one little fix."
.output = "A B C",
.hint = "This just needs one little fix.",
},
.{
.main_file = "49_quiz6.zig",
.output = "A B C Cv Bv Av",
.hint = "Now you're writting Zig!",
},
// 48 use struct method for elephant tails
// 49 quiz: add elephant trunk (like tail)!
// 50 null vs undefined
// 51 pass-by-value and const fn params
// 52 slices!