Cody

Problem 42855. Height of a right-angled triangle

Created by Jasmina Lazic in Community

Given numbers a, b and c, find the height of the right angled triangle with sides a and b and hypotenuse c, for the base c. If a right angled triangle with sides a and b and hypotenuse c does not exist, return NaN (not-a-number).

Solution Stats

31.76% Correct | 68.24% Incorrect
Last solution submitted on May 16, 2019

Problem Comments

Recent Solvers66

Suggested Problems