Create
a class rational which represents a numerical value by two double values –
NUMERATOR and DENOMINATOR. Include the following public member functions:
Constructor with no arguments (default)
Constructor with two parameters
Overload + operator to enable addition of two rational numbers
Reduce() function to reduce the rational number by eliminating the highest common factor between the numerator and denominator
Overload >> operator to enable input through in
Overload << operator to enable output through out
Write a main() to test all the functions in the class.