View Code of Problem 73

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

Double click to view unformatted code.


Back to problem 73