summaryrefslogtreecommitdiff
path: root/ziglings
diff options
context:
space:
mode:
authorDave Gauer <dave@ratfactor.com>2021-01-22 17:42:03 -0500
committerDave Gauer <dave@ratfactor.com>2021-01-22 17:42:03 -0500
commit08ec029f20381580ebe76ad8bd3feca2e5cd262a (patch)
tree818a56fd583bab292fc61c5203762ec56a31f208 /ziglings
parenta361b90a7562bcc5a62f863b42ae6a33aaa4b812 (diff)
Added ex 19,20 functions and pop quiz
Diffstat (limited to 'ziglings')
-rwxr-xr-xziglings3
1 files changed, 2 insertions, 1 deletions
diff --git a/ziglings b/ziglings
index fcbcb01..b1caa5c 100755
--- a/ziglings
+++ b/ziglings
@@ -68,7 +68,6 @@ function check_it {
fi
}
-
check_it 01_hello.zig "Hello world" "Note the error: the source file has a hint for fixing 'main'."
check_it 02_std.zig "Standard Library"
check_it 03_assignment.zig "55 314159 -11" "There are three mistakes in this one!"
@@ -87,6 +86,8 @@ check_it 15_for.zig "A Dramatic Story: :-) :-) :-( :-| :-) The End."
check_it 16_for2.zig "13"
check_it 17_quiz2.zig "8, Fizz, Buzz, 11, Fizz, 13, 14, FizzBuzz, 16" "This is a famous game!"
check_it 18_functions.zig "Question: 42" "Can you help write the function?"
+check_it 19_functions2.zig "2 4 8 16"
+check_it 20_quiz3.zig "32 64 128 256" "Unexpected pop quiz! Help!"
echo
echo " __ __ _ "