Now I have absolutely no idea why does defining the if condition as if(pow(i,2) + pow(j,2) == pow(k,2)) doesnt work (ie. deosnt print anything) while defining it as if(i*i + j*j == k*k) works flawlessly - by working I mean printing out single set of 3 numbers.
Yeah, the problem with that code is that the meaning of pow(i,2) depends on the particular language version. int pow(int, int) was recently introduced, which is why it works for MiiNiPaa but not for you.