166. f91

 avatar
user_6817964
c_cpp
a year ago
224 B
0
Indexable
Never
int f91(int n);

int f91(int n){
	if (n <= 100) {
		return f91(f91(n + 11));
	}
	else {
		return (n - 10);
	}
}

int main() {

	int n;
	scanf("%d", &n);
	printf("f91(%d) = %d\n", n, f91(n));
	return 0;

}