Thursday, October 21, 2010

How to right a roman numeral converter in VB?

I just want to write a Vb case statement to right a converter to convert hru 10 to thier numeral version to roman numeral say 1 = I 2 = II and so on.How to right a roman numeral converter in VB?
if numbers are from 1 to 10 the best option is to build two arrays, one string one byte or integer with the respective data, then use the array indexes to access equivalent data for the selected roman entry, depending what version you are using you may use a find() method to lookup the respective index of an array element.

No comments:

Post a Comment