Why is my operater "<" undefined for the argument type(s) boolean, int : <p>If the input is between a certain value I want the formula to be different than when the input falls between another range. However, when I write my if statement, I am getting an error that states "The operator &lt; is undefined for the argument type(s) boolean, int".</p>

<p>import java.util.Scanner;</p>

<p>public class jOne {</p>

<pre><code>public static void main(String[] args) {
    System.out.println("Enter daytime minutes:");
    Scanner a = new Scanner(System.in);  
    String daytime = a.nextLine();
    double daytime1 = Integer.parseInt(daytime);


    System.out.println("Enter evening minutes:");
    Scanner b = new Scanner(System.in);
    String evening = b.nextLine();
    Integer.parseInt(evening);
    double evening1 = Integer.parseInt(evening);


    System.out.println("Enter weekend minutes:");
    Scanner c = new Scanner(System.in);
    String weekend = c.nextLine();
    Integer.parseInt(weekend);
    double weekend1 = Integer.parseInt(weekend);


    if (0 &lt; daytime1 &lt; 100) {
        double PlanA = (((daytime1 - 100)) + (evening1 * 0.15)+(weekend1 * 0.20));
        double PlanB = (((daytime1 - 250)) + (evening1 * 0.35)+(weekend1 * 0.25));

    }

    else if (100 &lt; daytime1 &lt; 250) {
        double PlanA = (((daytime1 - 100)*0.25) + (evening1 * 0.15)+(weekend1 * 0.20));
        double PlanB = (((daytime1 - 250)) + (evening1 * 0.35)+(weekend1 * 0.25));
    }

    else if (daytime1 &gt; 250) {
        double PlanA = (((daytime1 - 100)*0.25) + (evening1 * 0.15)+(weekend1 * 0.20));
        double PlanB = (((daytime1 - 250)*0.45) + (evening1 * 0.35)+(weekend1 * 0.25));
    }
</code></pre>
