Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int Suma(int a, int b)
- {
- int rez;
- rez=a+b;
- return rez;
- }
- int main()
- {
- int a, b, c, d;
- cin>>a>>b>>c>>d;
- a=a+c;
- b=b+d;
- cout<<Suma(a,b)<<endl;
- return 0;
- }
Add Comment
Please, Sign In to add comment