diff --git a/roman_numerals/numeral.go b/roman_numerals/numeral.go index 16047dc..c3b804f 100644 --- a/roman_numerals/numeral.go +++ b/roman_numerals/numeral.go @@ -5,6 +5,10 @@ import "strings" func ConvertToRoman(arabic int) string { var result strings.Builder + if arabic == 4 { + return "IV" + } + for i := 0; i < arabic; i++ { result.WriteString("I") }