095_for3.patch 394 B

1234567891011
  1. --- exercises/095_for3.zig 2023-10-03 22:15:22.125574535 +0200
  2. +++ answers/095_for3.zig 2023-10-05 20:04:07.272770937 +0200
  3. @@ -54,7 +54,7 @@
  4. // I want to print every number between 1 and 20 that is NOT
  5. // divisible by 3 or 5.
  6. - for (???) |n| {
  7. + for (1..21) |n| {
  8. // The '%' symbol is the "modulo" operator and it
  9. // returns the remainder after division.