Advertisement
GenuineSounds

Untitled

Dec 3rd, 2014
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main () {
  5.     int i;
  6.     cout << "Please enter an integer value: ";
  7.     cin >> i;
  8.     cout << "The value you entered is " << i;
  9.     cout << " and its double is " << i*2 << ".\n";
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement