Getting wrong output. Please Help!!

Printable View