Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- class Sum {
- public:
- int a, b;
- Sum (int a, int b) {
- this->a = a;
- this->b = b;
- }
- int get (void) {
- return a + b;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement