Here's why:
* Imperative sentences give a command or instruction. This sentence is telling someone to not walk on the clean floor.
* Declarative sentences make a statement.
* Interrogative sentences ask a question.
* Exclamatory sentences express strong emotion.