Answer:
The age of the person who entered the room is 21.
Explanation:
Mean of 5 peoples = 39
i.e.
Sum / 5 = 39
Sum = 39 x 5
Sum = 195
Mean after one person enters the room = 36
Let x be the age of the new person.
Then
Mean = (Sum + x)/ 6
36 = (195 + x)/6
36 x 6 = 195 + x
216 = 195 + x
x = 216 - 195
x = 21