Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. Write a recursive C++ program that returns the English integer equivalent of a roman numeral given a method with a string argument. Use the
3. Write a recursive C++ program that returns the English integer equivalent of a roman numeral given a method with a string argument. Use the standard Roman numeral values: M, D, C, L, X, v, and I Remember, no more than three of the same letters can be used consecutively in a Roman numeral. For example, the number three is expressed as III, the number four must be expressed as IV. Values can only be between 1-3000. Use recursive method for your calculation, and recursion must be used for ful credit. Refer to the sample output below. Sample Runs (2): Enter a positive value: 1345 The Roman numeral equivalent is: MCCCXLV Enter a positive value: 9 The Roman numeral equivalent is: IX Name the progan: Reotx.com where ax are your nitiais
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started