ambujraj / hacktoberfest2018

A repository for HacktoberFest 2018.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

roman.rb gives wrong answer for cases "4: IV, 9: IX"

gotzillaz opened this issue · comments

File: roman/roman.rb 7d894f8

Case 1

Input: 4
Expected output: "IV"
Actual output: "IIII"

Case 2

Input: 9
Expected output: "IX"
Actual output: "VIIII"

Submitted a fix for Ruby Roman
Pull #423