Continuing Rational Class, programming homework help
Continuing Rational Class, programming homework help
Modify the last project you did for me
to add more functionality to the Rational class
Overload the following operators as friend functions: Addition (+), subtraction(-), multiplication(*), and division(/).
Each of these operations should evaluate as a Rational number in simplest form and should be able to operate on a Rational and an integer promoted to a Rational as either argument.
Overload the following Boolean operators as friend functions: Less than, greater than, less than or equal, greater than or equal, equal and not equal.
Overload the pre and post version of the increment and decrement operators (++ and –).
Your program should be submitted with a suitable test program that demonstrates all of these operators in working order.
"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.
Discount Code: CIPD30
Click ORDER NOW..


