Constructors

Now create your two class constructors. The default constructor must intialize the fracton to 1/1. The non-default constructor allows the fraction to be intialized to any value. For example, the fraction 12/17 could be created with:

  Fraction frac(12, 17);

The non-default constructor must check whether the denominator is zero and, if so, print an error message.