Code Snippets C

#include
#include
#define PI 3.14159265
int main ()
{
double param, result;
param = 240;
result = sin (param * PI / 180);
printf ("Sine of %lf degrees is %lf\n", param, result );
return 0;
}