123456789101112131415
  1. /**
  2. * Created by iyasuwatts on 10/17/17.
  3. */
  4. import java.util.Scanner;
  5. public class Main {
  6. public static void main(String[] args ){
  7. Scanner in = new Scanner(System.in);
  8. System.out.print("please enter your first name");
  9. String firstName = in.nextLine();
  10. if (firstName.equals ("Alice") || firstName.equals("Bob")){
  11. System.out.println("Greetings! " + firstName);
  12. }
  13. }
  14. }