Concept Flow - Roman to Integer Conversion
Start with total = 0
Read current Roman symbol
Compare with next symbol
Current < Next?
Yes→Subtract current value from total
Add current value to total
Move to next symbol
Repeat until end of string
Return total as integer
We read each Roman symbol, compare it with the next one to decide if we add or subtract its value, then move forward until all symbols are processed.
