how can we be sure that we are given base or height and not the hypotenuse?
Query regarding the question
@Senjuti256
I think it is clearly mentioned in the question that given input is either base or height of the triangle. Can you please share me the link of question at hackerblocks?
how to solve if we are given the hypotenuse?