(Solved) : Homework Roman Numbers Program Display Friendly Greeting User Prompt User String Either De Q44144563 . . .
HOMEWORK – ROMAN NUMBERS
Your program should:
Display a friendly greeting to the user.
Prompt the user for a string (either a decimal number or a Romannumber)
Accept that string.
If the value entered is 0 or O, state the number of valuesconverted and exit the program.
Identify the type of number entered (Decimal or Roman).
Test the string to ensure that it adheres to the requiredformat.
If the string does not adhere to theappropriate format, display a message explaining that the usershould more carefully read the specifications and exit.
Convert the input string to the desired output string by invoking afunction.
Display the appropriately-formatted output.
Display the prompt again.
Your program must include these four functions, with theseprototypes:
bool isValidDecimalNumber(string s);
bool isValidRomanNumber(string s);
string convertRomanToDecimal(string s);
string convertDecimalToRoman(strings);
Please I need the hold code. Thanks.
“C++ programming”
Note: Roman Numbers can be entered in upper and/or lowercase.
Expert Answer
Answer to HOMEWORK – ROMAN NUMBERS Your program should: Display a friendly greeting to the user. Prompt the user for a string (e…
OR