Explanation:
Let the first number is x and other number is (x+1). The product of two consecutive room numbers is 420.
So, according to question,


On solving the above quadratic equation, we get the value of x as:
x = 20
and
(x+1) = 21
So, two numbers are 20 and 21.