Skip to content

Latest commit

 

History

History
4 lines (3 loc) · 261 Bytes

README.md

File metadata and controls

4 lines (3 loc) · 261 Bytes

pythorag

Calculate the length of a missing side in a right triangle with the pythagorean theorem.

To compile, run gcc pythorag.c -o pythorag -lm, and to run, simply type ./pythorag and add the two known side lengths as arguments, e.g., ./pythorag 3 4.