User is asked for numerator and denominator twice so that it can perform various arithmetic calculations.