/** * Created by iyasuwatts on 10/17/17. */ import java.util.Scanner; public class Main { public static void main(String[] args ){ Scanner input = new Scanner(System.in); String userName; System.out.print("Please enter your name: "); userName = input.nextLine(); if (userName.equals("Alice") || userName.equals("Bob")){ System.out.println("Hello, " + userName + "! How are you today?"); } else { System.out.println("That's not a very great name. It's possible that that's not even a name at all!"); } } }