below is the code I have
the problem is the program shuts down too quick
also system("Pause") doesn't work
#include <iostream>
using namespace std;
int main()
{
int i;
cout<< "Enter your number: ";
cin>>i; //cin=keyboard, the number entered is stored in "i"
cout<<"The number you entered is "<<i <<"\n";
cout<<"Its double is "<< i*2<<"\n";
system("Pause");
return 0;
}