my code displaying some minor wrong o/p ....plz suggest me an answer !

Printable View