What is the formular for a right angle triangle? I really struggle with formulars and I need to know the formular for a programming assignment I have been given.

I need the user to input 2 values, the width and the length, but I somehow need to calculate and display the height of the triangle, and also the 3 interior angles in degrees.

I have no problem with the coding I just dont know what the formular would be...

would it be something like:

height * width / 2......? Also I know I have to use the square root somewhere in the formular.