```
if (Weight <6)
            {
                Price = 5;
                System.out.println("The price of cleaning will be" + Price);
            }
            else if(Weight > 5 < 10)
            {
                Price = 8;
                System.out.println("The price of cleaning will be" + Price);
            }
            else if(Weight >=10)
            {
                Price = 12;
                System.out.println("The price of cleaning will be" + Price);
            }

```

on the else if (weight > 5 < 10). I'm getting a boolean error how do I fix that part?

I expected it to know the difference. Please, I need help on this part, this work I'm doing is due in 3 hours