Skip to content

quick conversion module from Roman numerals to Arabic numerals and from Arabic to Roman numerals, available for C++

Notifications You must be signed in to change notification settings

nikitakruglovx/RomanNumeralsLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

RomanNumerasls Libraries modul for C++

version

  1. Convert XXII Roman numerals to Arabic numerals
  2. Convert 123 Arabic numerals to Roman numerals

Usage:

Linked RomanNumerals header file

#include "RomanNumerals.h"

Then create an object of the RomanNumerals class

RomanNumerals Number;

There are two methods available to you

img

Example

#include <iostream>
#include "RomanNumerals.h"

int main() {
    RomanNumerals Number;
    int OutputNumber = Number.fromRoman("MMXXII");
    std::cout << OutputNumber << std::endl;
}

About

quick conversion module from Roman numerals to Arabic numerals and from Arabic to Roman numerals, available for C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages