// i/o program #include using namespace std; int main () { int i; cout << "Please enter an integer value: ";
Posted: Sat Feb 19, 2022 3:23 pm
// i/o program
#include <iostream>
using namespace std;
int main ()
{
int i;
cout << "Please enter an integer value: ";
cin >> i;
cout << "The value you entered in the variable
whose name is " << "i= " << i
<< ".\n" ;
cout << " and its double is " <<
i*2 << ".\n";
return 0;
}
#include <iostream>
using namespace std;
int main ()
{
int i;
cout << "Please enter an integer value: ";
cin >> i;
cout << "The value you entered in the variable
whose name is " << "i= " << i
<< ".\n" ;
cout << " and its double is " <<
i*2 << ".\n";
return 0;
}