[Solved] C Roman Numerals Represented Seven Different Symbols V X L C D M Symbol Value 1 V 5 X 10 L Q37161279
c++
Roman numerals are represented by seven different symbols: I, V,X, L, C, D and M.
Symbol Value
I 1 V 5 X 10 L 50 C 100 D 500 M 1000
Sample 1.
Input: “III”
Output: 3
Sample 2.
Input: “IV”
Output: 4
Sample 3.
Input: “IX”
Output: 9
Sample 4.
Input: “LVIII”
Output: 58
Sample 5.
Input: “MCMXCIV”
Output: 1994
Expert Answer
Answer to c++ Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C … . . .
OR

