Question: IN C++ PLEASE!!!! Design a program that converts between Roman Numbers and decimal numbers, then implement that design in C++. Your program should: Display a

IN C++ PLEASE!!!!

Design a program that converts between Roman Numbers and decimal numbers, then implement that design in C++.

Your program should: Display a friendly greeting to the user. Prompt the user for a string (either a decimal number or a Roman number) Accept that string. If the value entered is 0 or O, state the number of values converted and exit the program. Identify the type of number entered (Decimal or Roman). Test the string to ensure that it adheres to the required format. If the string does not adhere to the appropriate format, display a message explaining that the user should more carefully read the specifications and exit. Convert the input string to the desired output string by invoking a function. Display the appropriately-formatted output. Display the prompt again.

Your program must include these four functions, with these prototypes: bool isValidDecimalNumber(string s); bool isValidRomanNumber(string s); string convertRomanToDecimal(string s); string convertDecimalToRoman(string s);

Also if you could explain how exactly you used the while loop to allow you to keep restarting the program would be greatly Appreciated and how you created in exit value!!!!

IN C++ PLEASE!!!! Design a program that converts between Roman Numbers and

Submit your Roman Number C++ source code here. Also give me a screen shot of your program in action, using the following four inputs: 2020 MCMLXXVII XXXIIIXXXIIIXXXIII HELLO Then enter a value that allows the program to exit. Do not submit ZIP files unless absolutely necessary. Do not submit projects; just the source code and other required documents

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!