Step-by-step 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,
[tex]x\times (x+1)=420[/tex]
[tex]x^2+x-420=0[/tex]
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.