Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 1

#include<stdio.

h>
#include<math.h>
#define PI 3.141592
int main(){

double degree;
printf("Enter your angle value in degree : ");
scanf("%lf",&degree);
double radian = degree * (PI/180); /* PI has the value of 3.141592 */
printf("sin value of %lf is %lf \n",degree,sin(radian));
return 0;
}

You might also like