#ifndef RATIONAL_H
#define RATIONAL_H

#include <iostream>

using namespace std;

class Rational
{
	public:	
		// Functions
		Rational(){};
		Rational(int, int);
		Rational operator*(const Rational &);
		Rational operator+(const Rational &);
		Rational operator-(const Rational &);
		Rational operator/(Rational &);
		bool operator<(const Rational &);
		bool operator<=(const Rational &);
		bool operator==(const Rational &);
		bool operator>(const Rational &);
		bool operator>=(const Rational &);
		void display();
		void reciprocal();
		int reduce();
		// Variables
		float myValue;
		int numerator;
		int denominator;
};

#endif
