changed the patch files that we can also use them with busybox for testing in Woodpecker

This commit is contained in:
Chris Boesch
2023-10-05 20:18:04 +02:00
parent 992323ac6c
commit 7491e3df91
109 changed files with 1606 additions and 770 deletions

View File

@@ -1,6 +1,13 @@
27,28c27,28
< if (n % 3 == 0) ???;
< if (n % 5 == 0) ???;
---
> if (n % 3 == 0) continue;
> if (n % 5 == 0) continue;
--- exercises/013_while3.zig 2023-10-03 22:15:22.122241138 +0200
+++ answers/013_while3.zig 2023-10-05 20:04:06.899430616 +0200
@@ -24,8 +24,8 @@
while (n <= 20) : (n += 1) {
// The '%' symbol is the "modulo" operator and it
// returns the remainder after division.
- if (n % 3 == 0) ???;
- if (n % 5 == 0) ???;
+ if (n % 3 == 0) continue;
+ if (n % 5 == 0) continue;
std.debug.print("{} ", .{n});
}