If the user types yes, I am trying to create a list(receipt) of everything the user entered between the commas. For example: cat, dog, fish would return: cat dog fish on separate lines. Would I use indexOf?
if (language.equals("English")) System.out.println("Please enter your order here (using commas to separate choices!)");
String order =kboard.nextLine();
if (language.equals("English")) System.out.println("Would you like a reciept (yes/no)?");
String response =kboard.nextLine();
if (response.equals("yes"))