Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main() {
- string n1, n2;
- cout << "Input first number to add: ";
- getline (cin, n1);
- cout << "Input second number: ";
- getline (cin, n2);
- cout << "Result: " << add (n1, n2);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement