Answer to Question #13537 in C++ for harini
Create a class RationalNumber for representing such numbers. There are 2 private data members named numerator and denominator of type int.
int numerator, denominator;
Learn more about our help with Assignments: C++