Skip to content

Cyb0nix/Roman_Numerals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Roman Numerals

Kata Société Général

Description

This program converts Arabic Numerals to Roman Numerals and vice versa.

Usage

// New instance of RomainConverter
RomainConverter converter = new RomainConverter();

// convert to Roman Numerals
int arabicNumber = converter.toArabicNumerals("LXIX");

// print result
System.out.println("LXIX -> " + arabicNumber);

// convert to Arabic Numerals
String romanNumber = converter.toRomanNumerals(69);

// print result
System.out.println("69 -> " + romanNumber);

Test the program

  • Clone the project
  • Open the project in your IDE
  • Run RomainConverterTest.java file

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages