Problem Statement
Write a program that calculates the length of the hypotenuse of a right-angled triangle given the other two sides a and b.
Use the formula: sqrt(a^2 + b^2).
DEMO-C-32 โข Programming in C
Write a program that calculates the length of the hypotenuse of a right-angled triangle given the other two sides a and b.
Use the formula: sqrt(a^2 + b^2).
a and b.The hypotenuse length formatted to 2 decimal places.
Submit runs every public testcase in this browser. Results and code never leave this device.
3.0 4.0
5.00
6.0 8.0
10.00
8.0 15.0
17.00
7.0 24.0
25.00
C, C++, Java, and Python run locally in a browser VM. No worker or visualizer is used.
/workspace/question