changed 1 to 42 for better understanding

This commit is contained in:
Chris Boesch
2025-11-28 14:42:58 +01:00
parent ed9694e557
commit 757826d45a
3 changed files with 10 additions and 10 deletions

View File

@@ -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", .{});
}
}