I am trying simple program as below in C++ but it is not asking input at all. What is the problem ?
Pls help
// i/o example
#include
using namespace std;
int main ()
{
int i;
cout << "Please enter an integer value: ";
cin >> i;
cout << "The value you entered is " << i;
cout << " and its double is " << i*2 << “.\n”;
return 0;
}