Your age doubled is: xx where x is the users age doubled. (print answer with no decimal places)
#include <iostream>
int main() {
int userAge;
// Input user's age
std::cout << "Enter your age: ";
std::cin >> userAge;
// Calculate and print the doubled age without decimal places
int doubledAge = userAge * 2;
std::cout << "Your age doubled is: " << doubledAge << "\n";
return 0;
}