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