#include int main() { float term,x,etox; int nterm; float tol=1.0E-6; etox=1.0; term=1.0; nterm=0; x=1.0; do { nterm+=1; term = (x/nterm) * term; etox+=term; } while (term > tol); printf(" After %3d iterations\n",nterm); printf(" %f \n" , etox ); return(0); }