Add elements to your roman.html page so that the user can perform the opposite conversion, translating a

Question:

Add elements to your roman.html page so that the user can perform the opposite conversion, translating a number into an ancient Roman numeral.

[One approach to building the Roman numeral would be to write a series of while loops. As long as the number entered by the user is greater than or equal to 1,000, add the letter "M" to a string representing the Roman numeral and subtract 1,000 from the value. If the resulting number is greater than or equal to 500, add "D" to the string and subtract 500. Then, repeatedly add "C"s and subtract 100 until the number becomes less than 100, and so on.]

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: