Sir, What's problem in my code?

I am not able to figure out which part of my code is creating a problem…

what is the question?

I am not getting the correct output