#include #include using namespace std; int main() { cout.setf ( ios_base::left ); cout << setw(10) << 123 << endl; cout.setf ( ios_base::right ); cout << setw(10) << 123 << endl; return 0; }