Cody

Solution 1201550

Submitted on 31 May 2017 by Said BOUREZG
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(vect('x*x'),'x.*x'))

ans = 'x.*x' ans = 'x.*x' ans = 'x.*x'

2   Pass
assert(isequal(vect('x^y'),'x.^y'))

ans = 'x^y' ans = 'x.^y' ans = 'x.^y'

3   Pass
assert(isequal(vect('x/z'),'x./z'))

ans = 'x/z' ans = 'x/z' ans = 'x./z'

4   Pass
assert(isequal(vect('(x*y)/z^w'),'(x.*y)./z.^w'))

ans = '(x.*y)/z^w' ans = '(x.*y)/z.^w' ans = '(x.*y)./z.^w'