You are viewing a single comment's thread. Return to all comments →
To make your life easier:
string Cs[] = { "","C","CC","CCC", "CD", "D", "DC", "DCC", "DCCC", "CM" }; string Xs[] = {"", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC"}; string Is[] = { "", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" };
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #89: Roman numerals
You are viewing a single comment's thread. Return to all comments →
To make your life easier:
string Cs[] = { "","C","CC","CCC", "CD", "D", "DC", "DCC", "DCCC", "CM" }; string Xs[] = {"", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC"}; string Is[] = { "", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" };