Console application for converting arabic to roman numbers.
A simple console application that takes a string, checks for arabic numbers, if any exist, converts them into roman numbers and returns a new string and the number of replacements made.
- open in Visual Studio (project was made in VS 2017)
- Build > Build Solution (F6)
- Test > Run > All tests (to run test units)
Number with a comma behind it won't get converted (and the string continues).
Example:
Input: abc 123, def 456
Output: abc 123, def C DL VI