robatino, good ideas, I will not be using arrays for two more chapters. But will certainly keep it in mind. In the meantime I'll take advantage of the switch's fall through and make the switch look smaller and more readable. eg. case 1: case 21: case 31:

Thanks again.

actually, strange about <stdbool.h> I'll try ValidDate = true; Maybe it was capital case it didn't like. I'm using gcc under mandriva 2006.1