View Code of Problem 73

#include<stdio.h>
int f(int n)
{
	if(n>1)
		return (f(n-1)+1)*2;
}
int main()
{
	
	int n;
	scanf("%d",&n);
	int sum=f(n);
	printf("%d\n",sum);
	return 0;
}

Double click to view unformatted code.


Back to problem 73