Hands-free cleaning system

TLIOB010

Shruti cleans floor with a wet cloth, she finds it difficult and this process takes too much time. Can you help Shruti in making a hands-free cleaning system?
NETWORKING KIT

    

#include <Servo.h>

Servo myservo;

int pos = 0;

void setup() {

myservo.attach(9);

}

void loop() {

for (pos = 0; pos <= 180; pos += 1) { 

// in steps of 1 degree

myservo.write(pos);

delay(10);

}

delay(5000);

for (pos = 180; pos >= 0; pos -= 1) { 

myservo.write(0);

delay(10);

}

}