A few years ago when I was learning ANSI C at Polytech, one assignment was a maths practice program for children.
It included a disk based database to store the users' names, scores, age as well as an adjustable difficulty level.
Download it
here if you want a look. I wrote it using SAS/C on AmigaOS, mainly because the annoying M$ Visual Studio thing the Polytech "suggested" to use was too overcomplicated and truly hideous overall.
My maths test program is a piece of crap too, but it works fine. Scored me 100% as a result, so it's done it's job.