Code Snippets C

#include
#include
#define PI 3.14159265
int main () {
double param, result;
param = 135;
result = tan ( param * PI / 180);
printf ("Tangent %lf degrees = %lf\n", param, result );
return 0;
}