import java.io.*;
import java.util.Random;
public class Program2 {
public static int Number;
public static int Number2;
public static int randomNumbers;
public static int Number3;
static Random generator = new Random();
static Random lotteryNumbers = new Random();
public static void main(String args[]) throws InterruptedException {
System.out.println(“Hello my name is the lottery number generator v0.0.0.0.1″);
System.out.println(“Hi, I will give you the lottery numbers. You can guess 10 numbers”);
System.out.println(“If you get 5 of these numbers (half of them) correct you win 10 diamonds!”);
System.out.println(“It costs 64 cobblestone to join”);
System.out.println(“Generator created by Kelvin in CADD Class”);
System.out.println(“Yes, I know it’s horribly coded
“);
Thread.sleep(1000);
for (Number2 = 0; Number2 <= 10; ++Number2) {
int randomNumbers = lotteryNumbers.nextInt(101);
System.out.println(“Number drawn : ” + randomNumbers);
}
Thread.sleep(10000);
System.out.println(“Now your loterry numbers are going to be drawn!”);
Thread.sleep(1000);
for (Number = 0; Number <= 15; ++Number) {
int randomInt = generator.nextInt(101);
System.out.println(randomInt);
if (randomInt == 100) {
System.out.println(“Wow! You got 100! Congratulations! You get 64 logs for this epicness, regardless whether or not you won!”);
}
else if (randomInt == 69) {
System.out.println(“Wow, you sick pervert. Twice the fee you have to pay sonnn.”);
}
else if (randomInt == 50) {
// else if (randomInt == 1) {
System.out.println(“Fantastic. You got 50″);
}
Thread.sleep(1500);
}
}
}