Constructors

Using this code , add three constructors so that the user can instantiate an object like:

  1. Rational s; //s is created as 0
  2. Rational s(4); //s is created as 4/1
  3. Rational s(2,4); //s is created as 2/4

Test your constructors by writing an application that creates three rational numbers (one of each type) and prints them.