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