diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-11-28 14:42:58 +0100 |
|---|---|---|
| committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2025-11-28 14:42:58 +0100 |
| commit | 757826d45a66168bd74e6912c7d7fceb151bb10c (patch) | |
| tree | 1d857577cdd3d6e6bf753e8acb6904f69f332ebe /exercises | |
| parent | ed9694e557bcbe95e5d00489d32aec556614a52d (diff) | |
changed 1 to 42 for better understanding
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/009_if.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exercises/009_if.zig b/exercises/009_if.zig index 4536fc3..e167104 100644 --- a/exercises/009_if.zig +++ b/exercises/009_if.zig @@ -21,13 +21,13 @@ const std = @import("std"); pub fn main() void { - const foo = 1; + const foo = 42; // Please fix this condition: if (foo) { // We want our program to print this message! - std.debug.print("Foo is 1!\n", .{}); + std.debug.print("Foo is 42!\n", .{}); } else { - std.debug.print("Foo is not 1!\n", .{}); + std.debug.print("Foo is not 42!\n", .{}); } } |
