View Code of Problem 73

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

Double click to view unformatted code.


Back to problem 73