#include #include #include using namespace std; int main() { int bond = 7; cout << bond << "\n" //printf("%d") << setw(3) << bond << "\n" //printf("%3d", i); << bond << "\n"; //printf("%d", i) char save = cout.fill(); cout << setw(3) << setfill('0') << bond << "\n"; //printf("%03d", bond); cout.fill(save); //or cout << setfill(save); cout << setw(3) << bond << "\n"; //same padding character as line 11 return EXIT_SUCCESS; }