This code is not giving correct values

Printable View