Question: Submit to Moodle the two programming files of this assignment Submit hard copy of your assignment with grade sheets cover page Introduction: The numeric system

 Submit to Moodle the two programming files of this assignment Submit

Submit to Moodle the two programming files of this assignment Submit hard copy of your assignment with grade sheets cover page Introduction: "The numeric system represented by Roman numerals originated in ancient Rome and remained the usual way of writing numbers throughout Europe well into the Late Middle Ages Numbers in this system are represented by combinations of letters from the Latin alphabet. Roman numerals, as used today . The use of Roman numerals continued long after the decline of the Roman Empire From the 14th century on Roman numerals began to be replaced in most context by the more event Hindu-Arabic u rals; however, this process was gradual, and the use of Roman numerals persists in some minor applications to this Problem: Write a program to convert a positive integer number into Roman number system Numbers are formed according to the following rules 1) Only numbers up to 3999 are represented s and ones are 2) As in the decimal system, the thousands hundred pwed separately 3) The below numbers are expressed in Romanas --BBB As you can see, I preceding a Vor X is subtracted from the value and you can never have more than three Isina row. Tens and hundreds are done the same way, except that the letters XL. Cand C.D. M are used instead of l. V, Xrespectively Required: Design a class called Re b er where it has 1. An instance variable of integer number 2. A constructor with arguments, where it accepts decimal numbers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!