Source: http://kata-log.rocks/roman-numerals-kata
Write a method String convert(int) that takes a number and converts it to the according String representation.
Examples:
1 β I
2 β II
3 β III
4 β IV
5 β V
9 β IX
21 β XXI
50 β L
100 β C
500 β D
1000 β M
This kata lures a lot of people to implement features in the order of the numbers. But do not forget that itβs sometimes easier to start with a general case and add exceptions later.