View Code of Problem 73

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

Double click to view unformatted code.


Back to problem 73