Problem

Write a program that converts a number entered in Roman numerals to a positive integer....

Write a program that converts a number entered in Roman numerals to a positive integer. Your program should consist of a class, say, romanType.

An object of type romanType should do the following:

a. Store the number as a Roman numeral.

b. Convert and store the number as a positive integer.

c. Print the number as a Roman numeral or positive integer as requested by the user.

d. Test your program using the following Roman numerals: MCXIV, CCCLIX, MDCLXVI.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 10
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT