Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Class.cpp"
- int main(){
- freopen("input.txt", "r", stdin);
- freopen("output.txt", "w", stdout);
- Polynom A(3), B(3);
- cin » A » B;
- cout « A.sum() « ' ' « B.sum() « endl;
- cout « A * B « endl;
- cout « A + B;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement