Archive for December 25th, 2007
Automated Santa 0.1
/*
 * Automated santa
 * Version: 0.1
 *
 * http://blog.tengutech.net/
 *
 */

#include <seasons_greetings.h>
#include <children.h>

char[][] children;
char[] child;

children = populateChildren();

foreach (child in children)
{
    merryChristmas(child);

    if (isBad(child))
        noPresent(child);
    else if (isGood(child))
       givePresent(child);
    else
    	logException(child, "Christmas limbo");
}