May I ask what I'm doing wrong here? I'm trying to calculate for the opposite side, given the angle and hypotenuse. I feel like I'm using sine the wrong way. Need some clarification on why my code isn't working.
#include <stdio.h>
#include <math.h>
int main () {
double fAngle, fHyp;
printf("Angle: ");
scanf("%lf", &fAngle);
printf("Hypotenuse: ");
scanf("%lf", &fHyp);
printf("The opposite side is %lf", sin(fAngle) * fHyp);
return 0;
}