Code Snippets C

#include
#include
#define PI 3.14159265
int main ()
{
double j, result;
j = 0.5;
result = acos ( j ) * 180 / PI;
printf ("Arccosine of %lf is %lf\n degrees", j, result );
return 0;
}