Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. int main() {
  7.     string n1, n2;
  8.     cout << "Input first number to add: ";
  9.     getline (cin, n1);
  10.     cout << "Input second number: ";
  11.     getline (cin, n2);
  12.     cout << "Result: " << add (n1, n2);
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement