Write a program to calculate adjacent and opposite of a triangle.

My code can calculate hypotenuse but won't calculate opposite and adjacent.

3 answers

check out MATH.sin and MATH.cos

If you have the hypotenuse and an angle, these will help.

If all you have is the hypotenuse, you're stuck. There is no way to figure the legs with just that.
I am given hypotenuse and height and question b I am given hypotenuse and base
1. 4
2. 10
3. Loss
4. Deposit