Program Challenge (was Re: z80 timing... 6502 timing)

From: Ethan Dicks <ethan_dicks_at_yahoo.com>
Date: Wed Apr 21 13:11:45 1999

--- Sean 'Captain Napalm' Conner <spc_at_armigeron.com> wrote:
> > Problem: Convert a binary value to Roman, using ASCII characters (or
> > the native character set if applicable) into a string
> > with a termination character (if ASCII, use the NUL (0)
> > character).
> >
> Sorry, I goofed. The longer string is 16 characters long:
>
> 'MMMDCCCLXXXVIII' plus termination character.

In terms of how to represent numbers like 1999 (MIM or MCMXCIX), the rule
I learned as a kid was that it was not proper to subtract any numeral
from any other numeral willy-nilly. Only certain combinations were
allowed and you had to just memorize them.
 
Here's some links to some pages with something to say about Roman Numerals

    http://www.cod.edu/people/faculty/lawrence/romans00.htm
    http://www.col-ed.org/cur/math/math41.txt
    http://www.mcn.net/~jimloy/roman0.html
    http://raven.bu.edu/~grozdits/student/roman_num.html

... and we now return you to your regularly scheduled Off Topic discussions...

-ethan



_________________________________________________________
Do You Yahoo!?
Get your free _at_yahoo.com address at http://mail.yahoo.com
Received on Wed Apr 21 1999 - 13:11:45 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:31:45 BST