235 views
0 votes
0 votes
int exp(int i,int n){
    int ans,j;
    ans=1;
    for(j=1;j<=n;j++){
        ans*=i;
        return ans;
    }
}

main(){
    int n,total,x,y,z;
    scanf("%d",&n);
    total=3;
    while(1){
        for(x=1(;x<=total-2;x++){
            for(j=1;j<=total-x-1;j++){
                z=total-x-y;
                if(exp(x,n)+exp(y,n)==exp(z,n))
                printf("Hello World");
            }
            total++;
        }
    }
}

What the following code print? 

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
1 votes
1 votes
0 answers
3