Ajout TPS + Entrainements

This commit is contained in:
Simoes Lukas
2024-12-10 12:52:05 +01:00
parent 6f3e79de9d
commit f7764aa296
20 changed files with 577 additions and 30 deletions

View File

@@ -0,0 +1,8 @@
----- TP28 : Récursivité (suite) -----
1.
2.

13
DEV1.1/TP28/test.c Normal file
View File

@@ -0,0 +1,13 @@
# include <stdio.h>
# include <stdlib.h>
int f(int n) {
if (n>100)
return n-10;
else
return f(f(n+11));
}
int main(void) {
f(12);
}