#include //Write the function prototype here int main() { int flag,nterms=20; double x,val; //Read the value of x from the keyboard valitanh(x,&val,nterms,&flag); if(flag==0) printf("x is outside the range\n"); else printf("Value is %0.3lf\n",val); return 0; } //Write the function valitanh here