diff options
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/009_if.zig | 1 | ||||
-rw-r--r-- | exercises/015_for.zig | 4 | ||||
-rw-r--r-- | exercises/018_functions.zig | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/exercises/009_if.zig b/exercises/009_if.zig index 284563d..4536fc3 100644 --- a/exercises/009_if.zig +++ b/exercises/009_if.zig @@ -11,6 +11,7 @@ // // a == b means "a equals b" // a < b means "a is less than b" +// a > b means "a is greater than b" // a != b means "a does not equal b" // // The important thing about Zig's "if" is that it *only* accepts diff --git a/exercises/015_for.zig b/exercises/015_for.zig index 2ce930e..4c87a05 100644 --- a/exercises/015_for.zig +++ b/exercises/015_for.zig @@ -1,6 +1,6 @@ // -// Behold the 'for' loop! It lets you execute code for each -// member of an array: +// Behold the 'for' loop! For loops let you execute code for each +// element of an array: // // for (items) |item| { // diff --git a/exercises/018_functions.zig b/exercises/018_functions.zig index 51be2cd..e79b765 100644 --- a/exercises/018_functions.zig +++ b/exercises/018_functions.zig @@ -1,5 +1,5 @@ // -// Functions! We've already seen a lot of one called "main()". Now let's try +// Functions! We've already seen lots of ones called "main()". Now let's try // writing one of our own: // // fn foo(n: u8) u8 { |