Question: Need this written in Java _a [cops are Yu ured CS 150- Computer Programming I Programming Project # 3 Assigned Date: Due Dates: ning, Tuesday

 Need this written in Java _a [cops are Yu ured CS Need this written in Java

_a [cops are Yu ured CS 150- Computer Programming I Programming Project # 3 Assigned Date: Due Dates: ning, Tuesday 10/17/2017 E Wednesday 10/25/2017 midnight or 11:59PM-executable code Thursday 10/26/2017 at the beginning of the class- printout (40 points) Write a program (named as pro 3 java) that takes a year written as a four-digit Arabic (ordinary) numeral and outputs the year in Roman numerals. The Roman number system has digits V 5 x 10 L 50 C 100 D 500 M 1000 Numbers are formed according to the following rules. (1) Only numbers up to 3999 are represented. (2) As in the decimal system, the thousands, hundreds, tens and ones are expressed separately, (3) The numbers 1 to 9 are expressed as VII 7 VIlI IX As you can see, an I preceding a V or X is subtracted from the value, and you can never have more than three I in a row. (4) Tens and hundreds are done the same way, except that the letters X, L, C and C, D, M are used instead of I, V, X, respectively. A few sample years: MCM is 1900, MCMLX is 1960, MCMLXXXIX is 1989. Assume the year is between 1000 and 3999. Your program should allow the user to repeat this calculation until the user says she or he is done. A sample rur: Please enter a positive integer up to 3999: The corresponding Roman number is: MCMLXXV

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!