#include <stdio.h> #include <math.h> #define PI 3.14159265 int main () { double param, result; param = 45; result = tan ( param * PI / 180); printf ("Tangent %lf degrees = %lf\n", param, result ); return 0; }