I/O problem
Posted: Wed Jul 30, 2003 3:24 am
such as this kind of problem how should I use the I/O fuction?For each line of input produce one line of output containing a floating point number with ten digits after the decimal point.
In C I can use the printf("%.10f",...);
but I cannot find any function in C++.
I have tried cout.precision(10);
but this not mean that.
Hope anyone can help.