Oct 29, 2015 at 7:43pm
You may want to look into using some of the functions from the <iomanip> header file since it looks like a display issue.
Oct 29, 2015 at 8:04pm
Yes I tried function from <iomanip> concretely
cout<<setprecision(3)<<f1;
But its not result for me