The "tan" function is used for calcution of the tangent value of a given input.
double tan(double x);
The "tan" function accepts 1 parameters
#include <stdio.h> #include <math.h> #include<conio.h> int main() { double x,tan_value; clrscr(); printf("\nEnter the number : "); scanf("%lf",&x); tan_value = tan(x); printf("The tan value is %lf\n", tan_value); getch(); return 0; }