DEV/DEV1.1/TP14/curiosité.c
2022-12-14 15:29:55 +01:00

20 lines
236 B
C

#include <stdio.h>
#include <stdlib.h>
int f(int n)
{
if(n>100)
{
return n-10;
}
else
{
return f(f(n+11));
}
}
int main(int argc, char const *argv[])
{
printf("%d\n",f(201));
return 0;
}