Guest User

Untitled

a guest
Jan 19th, 2019
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. int a,b;
  6. a=2;
  7. cout << "please enter a number:";
  8. cin >> b;
  9. cout << endl << "2*"<< b << "=" << b*a << endl;
  10. return 0;
  11.  
  12. }
Add Comment
Please, Sign In to add comment