/****************************************************************************/
/* Function: Read an angle in degrees and print its cosine.
/* Status:   28-feb-2002, pfk.
/* Remarks:
/* - functions can be argument of function "printf"
/* - "math.h" contains definitions of mathematical macros and variables;
/*   useful constants are defined as well
/****************************************************************************/

#include <stdio.h>
#include <stdlib.h> 
//#include <math.h>

int main ()
{
  float angle;

  scanf ("%f", &angle);

  printf ("Cosine = %f\n", cos (angle/180.0 * 3.14));


#ifdef _WIN32
    system("PAUSE");
#endif

  return (0);
}

