+ std::cout << " at an age of ";
+ {
+ int age = int(Age());
+ if (age >= 3600) {
+ std::cout << (age / 3600) << "h ";
+ age %= 3600;
+ }
+ if (age >= 60) {
+ std::cout << (age / 60) << "m ";
+ age %= 60;
+ }
+ std::cout << age << 's';
+ }
+ std::cout << " (" << int(Age() / properties.Lifetime() * 100)
+ << "% of life expectancy of ";
+ {
+ int lt = int(properties.Lifetime());
+ if (lt >= 3600) {
+ std::cout << (lt / 3600) << "h ";
+ lt %= 3600;
+ }
+ if (lt >= 60) {
+ std::cout << (lt / 60) << "m ";
+ lt %= 60;
+ }
+ std::cout << lt << 's';
+ }
+ std::cout << ")" << std::endl;