Fix bug found in project 04

This commit is contained in:
Jan-Niclas Loosen
2026-01-16 13:50:04 +01:00
parent 20ff73a29c
commit a2cc0adb52
54 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
let ggT(a, b) {
if (a == b) then
a
else
do {
if (a > b) then
a = a - b
else
b = b - a
} while (a != b);
a
} in ggT(3528, 3780) // result should be 252