how to print integer in c++ code example
Example: how to print integer in c++
#include
using namespace std;
int main()
{
int number;
cout << "Enter an integer: ";
cin >> number;
cout << "You entered " << number;
return 0;
}