int num;
std::cout << "Type a number: ";
std::cin >> num;
std::cout << "You entered " << num;
Comments