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