Cody

Solution 1836713

Submitted on 3 Jun 2019 by Michael Jarboe
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
assert(isequal(numeri_romani('+','I','I'),'II'))

y = 'II'

2   Pass
assert(isequal(numeri_romani('-','X','I'),'IX'))

y = 'IX'

3   Pass
assert(isequal(numeri_romani('*','X','X'),'C'))

y = 'C'

4   Pass
assert(isequal(numeri_romani('+',numeri_romani('*','XXV','XX'),numeri_romani('+','IV','V')),'DIX'))

y = 'C' y = 'DIX' y = 'DIX'

Suggested Problems

More from this Author3