I am getting 0 again and again please can you check my code and tell me , where I am wrong?

Please click my name and message your notebook as an attachment.