Why I'm seeing this logic error

image
Please help me to solve this issue

I recommend you follow the guidance provided within your image capture.