Good Day, I will be starting a course in C++ soon and i was just looking over the internet for some examples and practise questions. I found this question very interested as these topics are on the course outline. Is it possible for you to assisst me in doing this program so i can use it as examples in practising other programs?
Create a class Rational Number (fractions) with the following capabilities:
a. It should accept 2 private data members: denominator and numerator.
b. Mutators and Accessors.
c. Create a constructor that prevents a 0 denominator in a fraction, reduces or simplifies fractions that are not in reduced form and avoids negative denominators.
d. Overload the addition, subtraction, multiplication and division operators for this class to work with two objects.
e. Overload the relational and equality operators for this class.