Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "Rational.h"
- int main(){
- Rational t1(3, 5);
- Rational t2(1, 5);
- Rational t3 = t1 + t2;
- cout << t3;
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement