Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int x, y;
- cout << "Enter two values and I will add and subtract" << endl;
- cin >> x >> y;
- sumDifference(x, y)
- return 0;
- }
- void sumDifference(int a, int b)
- {
- return a + b;
- return a - b;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement