Multi-functional cleaning machine