Java: Can i use a boolean with a input in java
<p>am new to learning java and I have set myself a task of creating a shopping basket.</p>

<p>Here is my code:</p>

<pre><code>System.out.println("Grapes " + "£" + grapes + "    Quantity:");
    input= amount.nextLine();
    System.out.println("You Selected " + input + " Grapes");
</code></pre>

<p>How can i add a boolean so when someone says they want to order 1 bunch of grapes it comes up with "Bunch of Grapes", and when someone orders 2+ bunches of grapes it comes up with "Bunches of grapes" .</p>

<p>Thank you for you help,</p>

<p>Peter</p>
