Help me in solving BMJ218 problem

My issue

Everything Looks Normal but it says Wrong Ans

Learning course: Logic Building in Java
Problem Link: Review problem - 1 Practice Problem in Logic Building in Java - CodeChef