Concept Flow - Roman to Integer Conversion
Start with total = 0
Read current Roman symbol
Look ahead to next symbol
Is 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, and decide to add or subtract its value to get the final integer.
