Skip to content

rreckless/RomanNumeralsKata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roman Numerals Code Kata

This repository contains the following code Kata exercise:

Task 1

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

Optional Task 2

Write a function that converts a Roman numeral string back to it's integer value.

Example:

  • MMXXI = 2021
  • MMMCMXCIX = 3999

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages