Multifunctional cleaning machine