Bartholomew
- 527
- 0
If you want to count more than 3999, you would use parentheses around letters as explained at http://mathworld.wolfram.com/RomanNumerals.html. You wouldn't write MMMM. 4000 would be written M(V)
Edit: Or you could add a vinculum by using 2 lines of output and an underscore.
If for some reason you want to use more than 3 M's, you can just add more M's at the end of string s.
Yes, that's how the conditional statement works.
Edit: Or you could add a vinculum by using 2 lines of output and an underscore.
If for some reason you want to use more than 3 M's, you can just add more M's at the end of string s.
Yes, that's how the conditional statement works.
Last edited: