This repository contains the following code Kata exercise:
Write a function that converts an integer (up to a max value of 3,999) into Roman Numerals
Romain Numerals
- I = 1
- V = 5
- X = 10
- L = 50
- C = 100
- D = 500
- M = 1000
Example:
- 2022 = MMXXII
- 3999 = MMMCMXCIX
Write a function that converts a Roman numeral string back to it's integer value.
Example:
- MMXXI = 2021
- MMMCMXCIX = 3999