// 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;
}
// i/o program #include using namespace std; int main () { int i; cout << "Please enter an integer value: ";
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
// i/o program #include using namespace std; int main () { int i; cout << "Please enter an integer value: ";
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!