book cover
book cover

Programming Projects

Maths: Arithmetic

maintained by Francis Glassborow

  Home     

Roman Numerals [10B]

Contributed by Francis Glassborow

Write a program that will accept a string as input giving a value in Roman numerals and output the value as a normal decimal number. Then allow for input in decimal form and output in Roman form.

For a bit more information about Roman Numerals you can start here.

Program elements

You will probably have to deal with switch statements or other forms of multi-way decision making. There is a good deal of room for adding polish when doing this project.


  Home      Arithmetic      Maths      You Can Do It!