H is greater than 4, less than 6, and is odd. H, therefore, must be 5.
Let’s write down what we know:
Julie keeps Rabbits (“R”) and Hamsters (“H”) as pets.
##R=4##
She has more H than R, so:
##H>4## and H is odd.
The total of R and H is less than 10, so
##R+H<10##
we can substitute in for R:
##4+H<10##
and now we can solve for H:
##H<10-4=6##
So we know that H is greater than 4, less than 6, and is odd. H, therefore, must be 5.