#include #include using namespace std; int main() { cout << 123.456789 << endl << setw(9) << 123.456789 << endl << setw(12) << 123.456789 << endl; cout << setprecision (1) << 123.456789 << endl << setprecision (3) << 123.456789 << endl << setprecision (8) << 123.456789 << endl << setprecision (9) << 123.456789 << endl; cout << setbase( 8 ) << 100 << endl << setbase( 16 ) << 100 << endl ; cout << setfill( '.' ) << setw(10) << 123 << endl; return 0; }