#include int main(void){ double x,s,t; int i; printf("Input x(R:)...\nx="); scanf("%lf",&x); for(s=t=x,i=2;t>1.0E-6;s+=t/=i++); printf("The result is %g\n",s); return 0;}