Morning joke

Why did the student eat his homework?
Because the teacher told him it was a piece of cake.