Create a class called Rational for performing arithmetic with fractions. Write a program to test your class.
1/2+2/3+3/4.......+98/99+99/100.
Use integer variables to represent the private data of the class. The numerator and the denominator. Provide a constructor that enables an object of this class to be initialized when it is declared. The constructor should contain default values in case no initializers are provided and should store the fraction in reduced form