Sunday, July 13, 2008

Bottles of Beer on the Wall


BottlesOfBeerOnTheWall(new Wall(99));

public int BottlesOfBeerOnTheWall(Wall TheWall)
{
TheWall.BottlesOfBeer.TakeOneDown().PassItAround();

if (TheWall.BottlesOfBeer.Count > 0)
{
return BottlesOfBeerOnTheWall(TheWall);
}

return 0;
}



More computer humor

No comments:

Post a Comment