#include main() { cout.width(10); //sets width to 10 cout << "hello" << endl; cout.setf(ios::left); cout << "hello" << endl; cout << 16 << endl; cout.setf(ios::hex, ios::basefield); cout << 16 << endl; int userInput; cout << "Enter number:"; cin >> userInput; cout.setf(ios::dec, ios::basefield); cout << "you entered " << userInput << endl; }