Roman Numeral Converter, Code Review

Hey all, I finished the project and all my tests are passed. I just would like somebody other than me to look it over and see what I could have done better/what I could refactor. Thanks!

1 Like

Looks good but I would have changed the order of the if statements. You can do the checking for an invalid number first and do the handling for it and then if all the previous ifs didn’t apply, apply the conversion algorithm. (Then you don’t have to repeat yourself in the if conditions)

Thanks! lol I was expecting a lot more to be wrong/over complicated…