In Software Design, our fourth project of the semester was a Roman Numeral calculator, which was intended to take roman numerals from the user, perform a few simple operations upon them, and return a result.
In every other project in this class, I've done the bare minimum. But for some reason, when he gave us something so utterly charming and useless to do, I just went whole hog, and created a GUI and everything. Then I downloaded JSmooth so that I could turn it into an executable. If you're running Windows, you can run my calculator! Unfortunately, you do have to have java installed on your machine. What I really need to do is build an applet for it and just stick it online so that anybody can run it, but, uh... I'll do that later. (I haven't programmed an applet in a couple of years...)
Here is a link to the zip file. Unzip the jar and the exe files in there to any directory you like, just as long as they are saved in the same spot. Then double click the exe file.
Begrudging thanks to toqueville who inspired me to put it through a rather grueling test run today. toqueville, this is the latest version. Please, anybody who tries it: if you manage to break the computation OR the user input limits (the buttons will disable themselves rather than allow you to input an invalid number), let me know so I can fix it!
According to my professor, the Romans themselves were actually not that picky about how they entered their numerals... numbers such as "IIIX" and such were permitted. I only say this so that the pundits among you may relax and know that the fact that my calculator doesn't handle such numbers is not due to any ignorance on my part.