Transcription: This is a member function of the fraction class that inverts a fraction object. The function invert sets the value of a fraction to its reciprocal. For example, 2 over 3 becomes 3 over 2. The return value of the function invert is of type fraction. The function returns the modified object.