Answered step by step
Verified Expert Solution
Question
1 Approved Answer
- - - - IF YOU DO NOT READ THIS MESSAGE BEFORE STARTING CODE, YOU WILL GET DISLIKE - - - - - I posted
IF YOU DO NOT READ THIS MESSAGE BEFORE STARTING CODE, YOU WILL GET DISLIKE
I posted this exact same question th times and all of them incorrect solutions... please ready details below carefully.
::::: DO NOT USE ARRAY... NO CHAR NO ARRAY..
::::: USE SCANF TO GET INPUT FROM USER...
::::: ONLY C PROGRAM.
::::: TEST YOUR CODE TO THE OUTPUT I GIVE BELOW, DON'T RISK A DISLKE FOR YOUR SELF!!!
::::: SIMPLE CODE JUST DO NOT USE ARRAY AND ONLY C PROGRAM.
Roman numeral values will be input and converted into
their equivalent HinduArabic numeric values.
Input Roman numeral # : I
I
Input Roman numeral # : m
M
Input Roman numeral # : W
W Error last character was not valid!!!
Input Roman numeral # : vIi
VII
Input Roman numeral # : Iv
IV
Input Roman numeral # : DMXQX
DM Error last character was not valid!!!
Input Roman numeral # : mlxvi
MLXVI
Input Roman numeral # : MCMLIV
MCMLIV
Input Roman numeral # : MdMcMlMxMvMiM
MDMCMLMXMVMIM
Input Roman numeral # : MDMDCDCLCLXLXVXVIVIII
MDMDCDCLCLXLXVXVIVIII
THAT'S ALL FOLKS :
USE ALL INPUTS FROM THE SAMPLE GIVIEN...... OTHER EXPERT POSTED SULOTION BUT WAS ONLY OR ANSWER WAS CORRECT NOT ALL OF THEM... MAKE SURE ALL SAMPLE OUTPUT WORKS...LIKE Input Roman numeral # : MdMcMlMxMvMiM
MDMCMLMXMVMIM
Input Roman numeral # : MCMLIV
MCMLIV
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