John Baptist Rodrigues dont worry about the arduino code .it will write code for you .
in cleaning room
if tiles are present we use water brush(rolling brush) for cleaning and vacuum for sucking dirt.
that waste is present in the form of liquid.its easy to dispose .if you use only vacuum its make dust out outside and its not easy to control.
if carpet is present
use brush and vacuum
brush can make dust lose and remove hairs from carpet,
vacuum can suck the dust .
now in waste cabin water is present to control dust.is much important