Code not giving correct answer

please check my code and help me finding the error

please reply i am waiting to resolve my doubt

why you guys are not replying this has never happened before

I have edited the code… Try to submit it now…