import java.util.Random;
public class Test {
public static void main(String[] args) throws InterruptedException {
Random generator = new Random();
String[][] presents = {
{“Your present is “, “Congratulations, you got “, “Yayyyy lucky, you got “, “Hey derpface, you get “, “You’ve been pretty naughty, but here is ” },
{“10 iron ingots”, “10 gold ingots”, “3 diamonds”, “64 logs”, “5 golden apples”, “creative mode for a day!”, “you can kill anybody in the server 3 times”, “256 cobblestones”, “diamond pickaxe/shovel”, “64 blocks of glass”, “32 of any colored wool”}
};
int randomGift = generator.nextInt(11);
int randomText = generator.nextInt(5);
System.out.println(“KK, hold on. Searching for Santa…”);
Thread.sleep(2000);
System.out.println(“Checking if you’ve been a good boy…”);
Thread.sleep(2000);
System.out.println(“Alright, kiddo. Generating a random gift for you…”);
Thread.sleep(2000);
System.out.println(presents[0][randomText] + presents[1][randomGift] );
System.out.println(“”);
System.out.println(“”);
System.out.println(“”);
System.out.println(“Hopefully your present’s pretty good
“);
System.out.println(“Program coded by Kelvin”);
}
}