Program
Create a class Rational which represents a numerical value by two double values-NUMERATOR & DENOMINATOR. Include the following Public member Functions:
- Constructor With no Arguments
- Constructor with two arguments
- Void reduce() tha reduces the rational nuber by eliminating the hightest commom factor between the numeratorand denominator
- Overload +operator to add two rational number.
- Overload >>operator to enable input through cin.
- Overload << operator to enable output through cout
Write a main() to test all thje functions in the class.