View Code of Problem 73

#include<stdio.h>
int main(){
    int n;
    int i;
    int sum=0;
    int m=1;
    int t;
    scanf("%d",&n);
    for(i=1;i<n;i++){
        t=(1+m)*2;
        m=t;

    }
    printf("%d",m);
    return 0;
}

Double click to view unformatted code.


Back to problem 73