Reciprocal Function

In this step, you will write a reciprocal function. It will take in a fraction as a parameter, and return a new fraction with the numerator and denominator swapped. Think carefully about the parameter types, whether it should be pass-by-value or by-reference, and whether you would want it to be declared to be "const". Also consider the return type.