about | help | code help+videos | done | prefs |
DecimalToRomanTwo
Friends, Romans, Countrymen lend me your ear. We will soon have a program which will allow us Romans to do arithmetic using our numerals! PART TWO - Programmers please complete the code to receive a Decimal number and return a Roman numeral (string) FOR PART TWO we will be concerned with changing 4 into "IV" example 16 will return XVI. Note the largest Roman character is M for 1000. Choose the hint for the other values and characters. DecimalToRomanTwo(2000) → "MM" DecimalToRomanTwo(2900) → "MMCM" DecimalToRomanTwo(1500) → "MD" ...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: 191 Post-solution available
Copyright Nick Parlante 2017 - privacy