Using this code ,
add three constructors so that the user can instantiate an object like:
- Rational s; //s is created as 0
- Rational s(4); //s is created as 4/1
- 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.