Improving software delivery in every organisation

Roman Numerals

Given an integer input, produce output in Roman Numeral format.

Example

2 => II

5 => V

10 => X

Variations

  • Can you make the code really beautiful and highly readable?
  • Consider applying the Single Responsibility Principle to the absolute extreme when you are refactoring
  • What’s the best way to verify your tests are correct?
  • Compare your solutions to others

Reference

codingdojo.org