[Toggle Comments]
package main import ( "fmt" ) func main() { roman := "MCMXCIV" fmt.Println(romanToInt(roman)) fmt.Println(romanToIntLookMore(roman)) fmt.Println(romanToIntReverse(roman)) } /* * \ * \\, * \\\,^,.,,. Zero to Hero * ,;7~((\))`;;,, <zerotohero.dev> * ,(@') ;)`))\;;', stay up to date, be curious: learn * ) . ),(( ))\;, * /;`,,/7),)) )) )\,, * (& )` (,((,((;( ))\, */