#ifndef RATIONAL_H
#define RATIONAL_H

//Declares a class called Rational
class Rational
{
private:
  //Declares 2 private variables and a private member function reduce
  int denominator;
  int numerator;
  void reduce();

public:
  //Constructor that takes in two int values 
  Rational() = default;
  Rational(int, int);
  //Two public getter functions
  int getNumerator();
  int getDenominator();
  //Declares a friend function that overloads the operator <<
  friend std::ostream &operator<<(std::ostream &out, Rational &fraction);
};

#endif