Name: Jinnai and the Bugrom 2009-10-18 17:34
...to print out the lyrics to Hubba Hubba Zoot Zoot.
...in a language of your choosing.
...in a language of your choosing.
static string SPACE_CHARACTER = " ";
static string THAT_WHICH_WILL_ZOOT = "Hubba";
static string THAT_WHICH_WILL_BE_HUBBAD = "Zoot";
static int NUMBER_OF_HUBBA_REPETITIONS = 2;
static int NUMBER_OF_ZOOT_REPETITIONS = 2;
static int NUMBER_OF_UNIQUE_VERBS_AND_NOUNS = 2;
static string FORM_OF_MEDIA_BEING_REQUESTED = "lyrics";
static int INCREMENT_SIZE = 1;
static string IDENTIFIER = "The";
static string PREPOSITION = "to";
static void main(string args)
{
string songName = "", request = "";
for (int counter = 0; counter <= NUMBER_OF_UNIQUE_VERBS_AND_NOUNS; i += INCREMENT_SIZE)
{
for (int counter = 0; counter <= NUMBER_OF_HUBBA_REPETITIONS; i += INCREMENT_SIZE)
{
songName += THAT_WHICH_WILL_ZOOT;
songName += SPACE_CHARACTER;
}
for (int counter = 0; counter <= NUMBER_OF_ZOOT_REPETITIONS; i += INCREMENT_SIZE)
{
songName += THAT_WHICH_WILL_BE_HUBBAD;
songName += SPACE_CHARACTER;
}
}
request += IDENTIFIER;
request += SPACE_CHARACTER;
request += FORM_OF_MEDIA_BEING_REQUESTED
request += SPACE_CHARACTER;
request += PREPOSTITION;
request += songName;
System.out.println(request);
}