In this example for writing to a file I understand each part except why the first line has 2 "n"s and the second line has an n'?
fprintf(nout,'No of iterations = %5d\n\n,niter);fprintf(nout,Estimate of root = %12.4e\n', xf);
fprint function
fprintf(nout,'No of iterations = %5d\n\n,niter);fprintf(nout,Estimate of root = %12.4e\n', xf);
Best Answer