Advertisement
noler89

Untitled

Apr 4th, 2015
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. #include "Rational.h"
  2. int main(){
  3. Rational t1(3, 5);
  4. Rational t2(1, 5);
  5. Rational t3 = t1 + t2;
  6. cout << t3;
  7. system("pause");
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement