Why this codes not functioning well?

Printable View