cpp, control the precision of float output using cout and iomanip