Standard Libraries
/* Read an angle in degrees and print its cosine. */
#include <stdio.h>
#include <math.h>
int main()
{
float angle;
scanf ("%f", &angle);
printf ("Cosine = %f\n", cos (angle/180.0 * 3.14));
return (0);
}