This commit is contained in:
Armin Friedl 2025-01-18 15:41:21 +01:00
parent 1e0a951e6c
commit 20494cf726

View file

@ -24,8 +24,8 @@ pub fn main() void {
while (n <= 20) : (n += 1) { while (n <= 20) : (n += 1) {
// The '%' symbol is the "modulo" operator and it // The '%' symbol is the "modulo" operator and it
// returns the remainder after division. // returns the remainder after division.
if (n % 3 == 0) ???; if (n % 3 == 0) continue;
if (n % 5 == 0) ???; if (n % 5 == 0) continue;
std.debug.print("{} ", .{n}); std.debug.print("{} ", .{n});
} }