View Code of Problem 73

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

Double click to view unformatted code.


Back to problem 73