Answer:
5/6 of the room would be painted if both of them painted the room together in 1 hour
Explanation:
Work done by A in 1hour=1/2
Work done by B in 1hour=1/3
Therefore total work done by both in 1hr=1/2+1/3
LCM of 2 and 3 is 6
therefore 1/2+1/3=3/6+2/6=5/6