#include #include #include #include #include #include #include #include #include #include using namespace std; int main(){ int n; cin >> n; cout.fill('0'); cout << setw(3) << n << endl; /* //default cout << n << endl; // width 5 cout.width(5); cout << n << endl; // width will be influenced only once cout << n << endl; //save default fill character and set fill character char prevFill = cout.fill('0'); // 0 fill cout << n << endl; // width 10 cout << setw(10) << n << endl; // remain setfill character cout << setw(5) << n << endl; // recover prevFill cout.fill(prevFill); cout << setw(5) << n << endl; */ }