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