about | help | code help+videos | done | prefs |
RomansToSum
Friends, Romans, Countrymen lend me your ear. We will soon have a program which will allow us Romans to communicate with the barbarians by converting our numerals into their numbers and finding the SUM! - Programmers please complete the code to receive TWO Roman numeral (strings) and return the Natural number sum. Please be advised that we will be concerned with changing "IV" into 4 example XIV + X will return 24. Note the largest Roman character is M for 1000. Choose the hint for the other values and characters. RomansToSum("M", "M") → 2000 RomansToSum("CDX", "CIV") → 514 RomansToSum("MM", "CMI") → 2901 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 195 Post-solution available
Copyright Nick Parlante 2017 - privacy