Find out the hypotenuse of right triangle.
Say a = 4, b = 3 then c = 5
Please don't use ^ and sqrt() function.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers103
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6687 Solvers
-
Project Euler: Problem 10, Sum of Primes
2091 Solvers
-
Split a string into chunks of specified length
2057 Solvers
-
Magic is simple (for beginners)
11144 Solvers
-
564 Solvers
More from this Author5
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
A random test case was added to prevent hard-coded workarounds.