View Code of Problem 73

#include <stdio.h>
void main(){
	int i,s=1,n;
	scanf("%d",&n);
	for(i=n;i>1;i--){
		s=(s+1)*2;
	}
	printf("%d",s);
}

Double click to view unformatted code.


Back to problem 73