#include <math.h> double tan(double x);
#include <stdio.h> #include <math.h> int main() { printf ("%f\n", tan(3.141592*45/180)); return 0; }
./tan 1.000000