Why given number can’t be hypotenuse ,as we have taken here only for in case of even as 2 mn and in case of given number as odd it is taken as m^2 -n^2.
Regarding pythagoras triplet
@ankitjha910 its given in the question that you will only be given base and height thats why no issue
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.