From 0e447c7956410a993614f9337d6219e017722443 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Fri, 9 Dec 2022 22:07:01 +0000 Subject: 001-024 complete --- exercises/009_if.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises/009_if.zig') diff --git a/exercises/009_if.zig b/exercises/009_if.zig index 4536fc3..a053fa2 100644 --- a/exercises/009_if.zig +++ b/exercises/009_if.zig @@ -24,7 +24,7 @@ pub fn main() void { const foo = 1; // Please fix this condition: - if (foo) { + if (foo == 1) { // We want our program to print this message! std.debug.print("Foo is 1!\n", .{}); } else { -- cgit v1.2.3-ZIG