http://www.mediafire.com/?64gd1ia0l3ck9t9
January 20, 2012
January 6, 2012
December 23, 2011
December 22, 2011
December 14, 2011
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”);
}
}
December 13, 2011
asdfasdfasdf
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);
}
}
}
December 12, 2011
luls
http://mediafire.com/file/0109a9edq0wpjx1/Program1.zip
transferring to home luls
lots of errors




