if number given is even what factors do we have to use to get the closest triplets
Pythagoras triplet
what does the condition in else if mean ?
if the number given is even the closest factors are
> (x*x)/4 - 1 and (x*x)/4 + 1
, if x is even.
if number given is even what factors do we have to use to get the closest triplets
what does the condition in else if mean ?
if the number given is even the closest factors are
> (x*x)/4 - 1 and (x*x)/4 + 1
, if x is even.