First working solution of new task

This commit is contained in:
Jan-Niclas Loosen
2026-03-05 18:03:55 +01:00
parent 691d6eba8c
commit de46c67129
11 changed files with 1077 additions and 9 deletions

View File

@@ -0,0 +1,12 @@
s = 33;
i = 0;
j = 0;
t = i + j;
f = 6;
while (s < 42) do {
a = s - 1;
c = (i + j) * (f + 1);
if (c > 0) then j = j / c else i = j * c;
i = (j * 2) / f;
s = s + 1
}

View File

@@ -0,0 +1,9 @@
let f(x,y,z) {
y = 2;
z = 3;
let g(x) {
x = 7;
if (y > 0) then g(y) else x = 8;
x
} in g(x) + x
} in f(2,3)