// This file declares the Fraction structure.
// We put it in an include of its own, since
// we will need to use it in multiple source
// files.
struct Fraction
{
int n; // Numerator.
int d; // Denominator.
}; // This semi-colon is important!
// Along with the function, we will declare
// any fraction-related functions using function
// prototypes. These functions are defined
// in week4fr.cpp.
double fractionToDouble (Fraction);
Fraction divideFractions (Fraction, Fraction);
void reciprical (Fraction &);
void print (const Fraction &);