Cody

Solution 1622668

Submitted on 6 Sep 2018 by Jens Kjærgaard Boldsen
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'))

b = 1

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

b = 1

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

b = 10

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

b = 20 b = 5 b = 9

Suggested Problems

More from this Author3