#include #include using namespace std; int main() { cout<<"Enter your age in years:"; double ageInYears {0.0}; cin >> ageInYears; if (!cin) { cerr<<"ERROR:Invalid age value"; return EXIT_FAILURE; } const double ageInHours {ageInYears * 24 * 365}; cout << "You are " << ageInHours << " hours old!\n"; return EXIT_SUCCESS; }