computer science

profilew.2.a
c.docx

C++

(RationalNumber Class) Create a class RationalNumber (fractions) with the following capa-

bilities:

a- 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.

b) Overload the addition, subtraction, multiplication and division operators for this class. c)Overload the relational and equality operators for this class.

Pls ORIGINAL WORK

IT IS C++

USE DEV++ PROGRAM

IF CANN’T OTHERWISE SUBMIT WORD DOCUMENTS. SO I CAN COPY AND PASTE.

DUE TODAY MIDNIGHT

THANK YOU