Here is the screen shot. Can you please tell me the logical error cause it is getting compiled fine.