Challenge #2: Roman Numerals

For this challenge, we need to generate a list of the first 1000 Roman numerals as strings.

The corresponding decimal numbers are generated in the start file. Add a string field that contains the corresponding Roman numeral.

Download the start.dfl (3.1 KB) file to get started.

The sample solution uses the algorithm found at: https://www.rapidtables.com/convert/number/how-number-to-roman-numerals.html

We’re creating a table of Roman numerals and using it for a sequence of lookups.

Solution: roman_numerals_solution.dfl (20.4 KB)

The following screencast shows the development process:

1 Like