Question: You will have a class named Roman and a class called IestRoman. Run ad test the program with the data given on step e. Take

You will have a class named Roman and a class called IestRoman. Run ad test the program with the data given on step e. Take a screenshot of your test.


Welcome to RedShelf eReader! Just getting started? Head over to our partner


You will have a class named Day and a class called TestDay. Run and test all of the operations of the program. Take a screenshot of all of your tests.


support page for a guide on the basics. 2. Write a program 

Welcome to RedShelf eReader! Just getting started? Head over to our partner support page for a guide on the basics. 2. Write a program that converts a number entered in Roman numerals to decimal. Your program should consist of a class, say, Roman. An object of type Roman should do the following: a. b. C. Store the number as a Roman numeral. Convert and store the number into decimal. Print the number as a Roman numeral or decimal number as requested by the user. The decimal values of the Roman numerals are: e. MDCLXVH I 1000 500 100 50 10 5 1 d. Your class must contain the method romanToDecimal to convert a Roman numeral into its equivalent decimal number Test your program using the following Roman numerals: MCXIV, CCCLIX, and MDCLXVI. K

Step by Step Solution

3.38 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

2The program code in JAVA is given below Type and run then enter the decimal number import javautilScanner public class Roman static String romanNumer... View full answer

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 Programming Questions!