Code:
Rational(int x = 0, int y = 1)
Because of the default value for y that constructor can convert an int to a Rational.
Kurt