am new to learning java and I have set myself a task of creating a shopping basket.
Here is my code:
System.out.println("Grapes " + "£" + grapes + " Quantity:");
input= amount.nextLine();
System.out.println("You Selected " + input + " Grapes");
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" .
Thank you for you help,
Peter