useto go from scientific to fixed notation andCode:cout.setf(ios::fixed);where n is an integer to set the number of places after the decimal.Code:cout.precision(n);
useto go from scientific to fixed notation andCode:cout.setf(ios::fixed);where n is an integer to set the number of places after the decimal.Code:cout.precision(n);
thanks, that helped