import java.util.Scanner; /** * Created by iyasuwatts on 10/17/17. */ public class Main { public static void main( ){ Scanner user_input = new Scanner( System.in ); System.out.print("What is your name? "); String name = user_input.next(); if(name.equals("Bob") || name.equals("Alice")) { System.out.println("Hello there " + name); } else{ System.out.println("Im sorry I don\'t know you"); } } }