0
Help to get the desired output. I want to print only the Pythagorean triplets(i,j,k) where i^2+j^2=k^2 between 100 and 1000
2 Réponses
+ 4
Please explain question completely when you ask here . U posted code only and your code is working properly but what Output u expecting you also have to mention . First update your question.
0
Deependra Soorma The first run of the output is incorrect i.e 11,11,1(11*11+11*11 is not equal to 1*1) as well as many others. It's not a Pythagorean triplet.I want only the exact Pythagorean triplets