- Convert XXII Roman numerals to Arabic numerals
- Convert 123 Arabic numerals to Roman numerals
Linked RomanNumerals header file
#include "RomanNumerals.h"
Then create an object of the RomanNumerals class
RomanNumerals Number;
There are two methods available to you
#include <iostream>
#include "RomanNumerals.h"
int main() {
RomanNumerals Number;
int OutputNumber = Number.fromRoman("MMXXII");
std::cout << OutputNumber << std::endl;
}