View Code of Problem 73

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

Double click to view unformatted code.


Back to problem 73