ok so this is my code now.
#include <iostream>
using namespace std;
int main()
{
int i ;
cout << "please enter an integer value: " ;
cin >> i;
cout << " \n the value you entered is" << i;
cout << "and its double is...\n ";
cout << i * 2;
cin.get();
return 1;
}
it compiles and runs now but now im back to square one. now when the user puts in a value it does nothing. And when i hit enter it just flashes somthing then exits.