Code Print Number Entered by User C++
#include <iostream>Output
using namespace std;
int main()
{
int number;
cout << "Enter an integer: ";
cin >> number;
cout << "You entered " << number;
return 0;
}
Enter an integer: 23
You entered 23