20 lines
637 B
Java
20 lines
637 B
Java
|
import java.util.Scanner;
|
||
|
|
||
|
public class LuckyNumber {
|
||
|
public static void main(String[] args) {
|
||
|
Scanner scanner = new Scanner(System.in);
|
||
|
System.out.println("Enter your nationality:");
|
||
|
String nationality = scanner.nextLine();
|
||
|
|
||
|
if (nationality.equals("de")) {
|
||
|
System.out.println("Ich mach jetzt nicht den offensichtlichen 88 Witz\n");
|
||
|
|
||
|
} else if (nationality.equals("pl")) {
|
||
|
System.out.println("Twój szczęśliwy numer to 2137.\n");
|
||
|
|
||
|
} else {
|
||
|
System.out.println("How the fuck am I supposed to know what your lucky number is????\n");
|
||
|
}
|
||
|
}
|
||
|
}
|