Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- class GreenApple{
- public:
- int x,y;
- int suma(int x,int y)
- {
- return x+y;
- }
- };
- int main()
- {
- GreenApple Primer;
- int x,y;
- cin >> x;
- cin >> y;
- cout<< Primer.suma(x,y)<< endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement