Simulate a FSM
Convert input in the form of Roman Numerals (up to 100) and output the equivalent base 10 value.
Create and implement a Finite state machine. It should have a next state table and an action table.
- IV
- XIII
- XIIII
- XIV
- IV = 4
- XIII = 13
- XIIII = error, not a Roman Numeral
- XIV = 14`