W
wax
Hello.
// i/o example
#include <iostream>
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;
}
i enter the integer but whan i press enter the programe runs and i can't see
the results.
how can i open the window open?
Thanks
// i/o example
#include <iostream>
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;
}
i enter the integer but whan i press enter the programe runs and i can't see
the results.
how can i open the window open?
Thanks