Why code is not working

Can you please tell me where I am going wrong, why it is not working.