how to calculate the hypotenuse of a triangle without using math.h? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

how to calculate the hypotenuse of a triangle without using math.h?

7th Oct 2018, 4:20 AM
Heru Budi Setiawan
Heru Budi Setiawan - avatar
1 Answer
0
You need to get square root. math.h is the easiest way to get it. You always can to write this function yourself to not include math.h
7th Oct 2018, 5:25 AM
Sergey Ushakov
Sergey Ushakov - avatar