From: Shiloh Madsen Date: 2007-01-03T06:58:04+09:00 Subject: Re: Calculating roman numerals Thank you. That gave me an entirely new way to look at this. I am working on one solution now, but I will try that next. If they both work I'll post both as I am curious which will be more efficient. On 1/2/07, Carlos wrote: > [Shiloh Madsen , 2007-01-02 22.35 CET] > > Ok, I'm having trouble with another exercise in this book. It has > > asked me to write a program that will calculate the old school roman > > numeral value for a given modern number (up to the thousands). To > > clarify, old school roman numerals didn't do the subtraction thing, so > > 4 is IIII, nine is VIIII, etc. I've played around with a few options > > using division, loops and modulus, but can't seem to get my brain > > around the problem...any suggestions? > > A hint: Try loops and subtractions. > > Good luck. > -- > > -- -I didn't know you could stop being a God. -You can stop being anything.