Need help getting this to work. Please do not write it out. Have hard time reading people's hand writing.
write a c++ program that implements and tests the following two functions related to the Calkin-Wilf enumeration of the positive fractions:
Fraction cwfrac(int p); //Returns the fraction in position p in the Calkin-Wilf enumeration.
int cwpos(Fraction f); //Returns the position of the fraction f in the Calkin-Wilf enumeration.