Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 323 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 323 Bytes

RomanNumerals

https://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