Tuesday, July 14, 2009

Life at Vo San's place, Java Style

.



import java.util.*;

public class vosanxxxjukeat
{

static Scanner input = new Scanner(System.in);

public static void main(String args[])
{
for(int time = 0; time<=16; time++) { if(time=>10)
{

if(vosan is awake)
{
System.out.println("*yawns* Harlow");
break;
}
else
{
System.out.println("Walao still haven't wake up =.=");
sleep();
}

}

System.out.println("What you wan do now?");

String entry = input.next();
entry = entry.toLowerCase();


if (entry.equals("lunch"))
eatLunch(Orange, Medan, Maggi Mee);

else if (entry.equals("play"))
playGame(Transformers, L4D, Warcraft Castle Fight);

else if (entry.equals("dinner"))
eatDinner(MengTian, AsiaCafe);

else if (entry.equals("study"))
studyProgramming(looping, switch, callMethod, odArray, tdArray);

else if (entry.equals("playagain"))
playGame(Warcraft Castle Fight);

else if (entry.equals("supper"))
eatSupper(mamak);

else if (entry.equals("sleep"))
sleep();

}

}