Code Snippets C

#include
#include
int main()
{
printf("The cosine of %f is %f.\n",0.5,cos(0.5));
printf("The cosine of %f is %f.\n",1.0,cos(1.0));
printf("The cosine of %f is %f.\n",-1.0,cos(-1.0));
return 0;
}