We are going to overload the following operators in the fract class.
math operator add (+) operator
logical comparison greater than (>) operator
both pre and post increament (++) and decrement (--) operators
output stream (<<) operator
Attachment:- program.txt