I would make the checkGuess() take in 2 integers that the user inputs with cin ( int num, denom ) and then compare it to the reduced fraction in f3.
int num, denom;
cout << "num: ";
cin >> num;
cout << "denom: ";
cin >> denom;
f3.checkGuess(num, denom);
The checkGuess() checks by just going
void checkGuess(int xnum, int xdenom)
{
if( xnum == num && xdenom == denom )
{
cout << "Correct!\n";
print();
}
else
cout << "Wrong, try again!\n;
}
Is this what you are trying for?