#include <iostream>
#include <iomanip>
using namespace std;
int main()
{
int a = 45;
float b = 45.323;
double c = 45.5468;
int aa = a + 9;
float bb = b + 9;
double cc = c + 9;
int aaa = aa + 9;
float bbb = bb + 9;
double ccc = cc + 9;
// 1st attempt :>
cout << "\n\n\n" << "// 1st attempt :>" << "\n";
cout << "12345678901234567890123456789012345678901234567890" << "\n";
cout << "Ints" << setw(15) << "Floats" << setw(15) << "Doubles" << "\n";
cout << a << setw(15) << b << setw(15) << c << "\n";
cout << aa << setw(15) << bb << setw(15) << cc << "\n";
cout << aaa << setw(15) << bbb << setw(15) << ccc << "\n";
// 2nd attempt :>
cout << "\n\n\n" << "// 2nd attempt :>" << "\n";
cout << "12345678901234567890123456789012345678901234567890" << "\n";
cout << setw(15) << std::left << std::setfill(' ') << std::setw(15) << "Ints" << setw(15) << "Floats" << setw(15) << "Doubles" << "\n";
cout << a << setw(15) << b << setw(15) << c << "\n";
cout << setw(15) << std::left << std::setfill(' ') << setw(15) << aa << setw(15) << bb << setw(15) << cc << "\n";
cout << aaa << setw(15) << bbb << setw(15) << ccc << "\n";
return 0;
}
CgojaW5jbHVkZSA8aW9zdHJlYW0+CiNpbmNsdWRlIDxpb21hbmlwPgogCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiAKaW50IG1haW4oKQp7CiAgICBpbnQgYSA9IDQ1OwogICAgZmxvYXQgYiA9IDQ1LjMyMzsKICAgIGRvdWJsZSBjID0gNDUuNTQ2ODsKICAgIGludCBhYSA9IGEgKyA5OwogICAgZmxvYXQgYmIgPSBiICsgOTsKICAgIGRvdWJsZSBjYyA9IGMgKyA5OwogICAgaW50IGFhYSA9IGFhICsgOTsKICAgIGZsb2F0IGJiYiA9IGJiICsgOTsKICAgIGRvdWJsZSBjY2MgPSBjYyArIDk7CgogICAgLy8gMXN0IGF0dGVtcHQgOj4KICAgIAogICAgY291dCA8PCAiXG5cblxuIiA8PCAiLy8gMXN0IGF0dGVtcHQgOj4iIDw8ICJcbiI7CiAgICB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