Improve code maintainability

This commit is contained in:
Jan-Niclas Loosen
2025-12-07 23:12:35 +01:00
parent 6e9f0331ed
commit 88b8de363d
44 changed files with 45 additions and 58 deletions

View File

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