Ok, it ain't C but, this would be plagiarism and tut-tut! Here's a solution using Tcl. It might give some insight.
proc roman:numeral {i} {
set res ""
foreach {value roman} {
...
Type: Posts; User: WJG
Ok, it ain't C but, this would be plagiarism and tut-tut! Here's a solution using Tcl. It might give some insight.
proc roman:numeral {i} {
set res ""
foreach {value roman} {
...