Question: Write a C++ program for the following using a switch statement Write a program to read in New Roman numerals and print out their value
Write a program to read in New Roman numerals and print out their value (base 10 aumber) Od Roman numerals do not have a smaller vaue in front of a larger one but New Roman numerals can have smaller value numeral in front of a larger one Example input: Results IV-4 XVII-18 IV MCCXLIV MCCXLIV- 1244 Tis 1, Vis 5, X in 10, L is 50, C is 100, D is 500, M in 1000 Test Data: Input file Roman
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
