if statement not working Properly

Printable View