#include <stdio.h>
#include <math.h>
int main()
{   
    int i,a,b;
    float pi=3.414;
    float p,q,r,angle,deg;
    printf("Enter the  two sides of triangle: \n");
    scanf("%d %d",&a,&b);
    printf("Enter one angle: \n");
    scanf("%f",&angle);
    for (i=0;i<=30;i++)
    {
    	angle = angle * (pi/180);
		q = sin(angle);		
		p = b * (q/a);	
		deg = asin(p);		
        r = deg * (180/pi);
        printf("Angle B = %f\n",r);
        break;
	}
	
   
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: