I'm trying to create a program that follows the one of the rules of roman numeral
There can never be more than 4 M’s, 1 D, 4 C’s, 1 L, 4 X’s, 1 V, or 4 I’s because then the representation is not minimal (e.g. 5 X’s can be written as L).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
int main()
{
string myInput;
int value;
cout << "Please enter the Roman Numeral to convert : ";
cin >> myInput;
cout << "Roman Number " << myInput << " equals " << value <<endl;
return 0;
}
note: this code is still incomplete and i'm still working on it