Cody

Solution 1878212

Submitted on 18 Jul 2019
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   Fail
s1 = 'Jack and Jill went up the hill'; s2 = 'a a i e u e i'; assert(isequal(s2,refcn(s1)))

Undefined function or variable 'x'. Error in refcn (line 2) if x ~= 'a' | 'e' | 'i' | 'o' | 'u' Error in Test1 (line 3) assert(isequal(s2,refcn(s1)))

2   Fail
s1 = 'I don''t want to work. I just want to bang on the drum all day.'; s2 = 'I o'' a o o. I u a o a o e u a a.'; assert(isequal(s2,refcn(s1)))

Undefined function or variable 'x'. Error in refcn (line 2) if x ~= 'a' | 'e' | 'i' | 'o' | 'u' Error in Test2 (line 3) assert(isequal(s2,refcn(s1)))

Suggested Problems

More from this Author95