Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. string string1="Enter your first number";
  2. cout << string1 << endl;
  3. int int1;
  4. cin >> int1;
  5. cout << "Enter The number you want to add"<<endl;
  6. int int2;
  7. cin >> int2;
  8. cout << "Result: " << int1 + int2;
  9. anykey();
  10. return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement