20 lines
236 B
C
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;
|
|
} |