voor de initialise-variable verandering

This commit is contained in:
Peter
2024-03-10 09:53:47 +01:00
parent 613fa9ab1a
commit cb7f6f8e5d
18 changed files with 163 additions and 183 deletions

View File

@@ -5,9 +5,10 @@ fun fib(n) {
return fib(n-1) + fib(n-2);
}
int n = 0;
while (n < 8) {
while (n < 5) {
print(fib(n));
n = n + 1;
}