Correct. The numbers 7 and 8 are the two whole numbers that are greater than 6 and less than 9.