answersLogoWhite

0

#include "stdio.h" #include "math.h" int main() { double result,degrees,radians; printf("Enter the no. of degrees : "); scanf("%lf",&degrees); radians = degrees*(M_PI/180); result = sin(radians); printf("%lf\n",radians); printf("The sin() of %lf is %lf\n", degrees, result); return 0; }

User Avatar

Wiki User

12y ago

What else can I help you with?