|
@@ -1,9 +1,22 @@
|
1
|
1
|
/**
|
2
|
2
|
* Created by iyasuwatts on 10/17/17.
|
3
|
3
|
*/
|
|
4
|
+import java.util.Scanner;
|
|
5
|
+
|
4
|
6
|
public class Main {
|
5
|
7
|
|
6
|
|
- public static void main(String[] args ){
|
|
8
|
+ public static void main(){
|
|
9
|
+
|
|
10
|
+ }
|
|
11
|
+
|
|
12
|
+ public static void Welcome(){
|
|
13
|
+ Scanner scanner = new Scanner(System.in);
|
|
14
|
+ String userInput = scanner.next();
|
7
|
15
|
|
|
16
|
+ //System.out.println(userInput);
|
|
17
|
+ if(userInput.equalsIgnoreCase("alice") || userInput.equalsIgnoreCase("bob"))
|
|
18
|
+ {
|
|
19
|
+ System.out.println("Welcome");
|
|
20
|
+ }
|
8
|
21
|
}
|
9
|
22
|
}
|