-
-
Save davidvandusen/f6b53f546c0baf7d42e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def to_roman(num) | |
# Your code here | |
end | |
# Drive code... this should print out trues. | |
puts to_roman(1) == "I" | |
puts to_roman(3) == "III" | |
puts to_roman(6) == "VI" | |
# TODO: what other cases could you add to ensure your to_roman method is working? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment