C++ examples for File Stream:cout
What is the output of program, cout.scientific
#include <iostream> #include <iomanip> using namespace std; int main(int argc, const char *argv[]) { cout << setw( 10 ) << setprecision( 2 ) << scientific << 444.987654; return 0;// ww w . ja v a 2s . co m }