What's the bug in this code?

Printable View