Cody

# Problem 13. Remove all the consonants

Solution 694746

Submitted on 1 Jul 2015 by Mark Orloff
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
%% s1 = 'Jack and Jill went up the hill'; s2 = 'a a i e u e i'; assert(isequal(s2,refcn(s1)))

cons = BCDFGHJKLMNPQRSTVWXYZbcdfghjklmnpqrstvwxyz s2 = Jack and Jill went up the hill s2 = Jack and Jill went up the hill s2 = Jack and Jill went up the hill s2 = Jack and Jill went up the hill s2 = Jack and Jill went up the hill s2 = Jack and Jill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ack and ill went up the hill s2 = ak and ill went up the hill s2 = ak an ill went up the hill s2 = ak an ill went up the hill s2 = ak an ill went up the hill s2 = ak an ill went up te ill s2 = ak an ill went up te ill s2 = a an ill went up te ill s2 = a an i went up te i s2 = a an i went up te i s2 = a a i wet up te i s2 = a a i wet u te i s2 = a a i wet u te i s2 = a a i wet u te i s2 = a a i wet u te i s2 = a a i we u e i s2 = a a i we u e i s2 = a a i e u e i s2 = a a i e u e i s2 = a a i e u e i s2 = a a i e u e i

2   Pass
%% 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)))

cons = BCDFGHJKLMNPQRSTVWXYZbcdfghjklmnpqrstvwxyz s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to bang on the drum all day. s2 = I don't want to work. I just want to ang on the drum all day. s2 = I don't want to work. I just want to ang on the drum all day. s2 = I on't want to work. I just want to ang on the rum all ay. s2 = I on't want to work. I just want to ang on the rum all ay. s2 = I on't want to work. I just want to an on the rum all ay. s2 = I on't want to work. I just want to an on te rum all ay. s2 = I on't want to work. I ust want to an on te rum all ay. s2 = I on't want to wor. I ust want to an on te rum all ay. s2 = I on't want to wor. I ust want to an on te rum a ay. s2 = I on't want to wor. I ust want to an on te ru a ay. s2 = I o't wat to wor. I ust wat to a o te ru a ay. s2 = I o't wat to wor. I ust wat to a o te ru a ay. s2 = I o't wat to wor. I ust wat to a o te ru a ay. s2 = I o't wat to wo. I ust wat to a o te u a ay. s2 = I o't wat to wo. I ut wat to a o te u a ay. s2 = I o' wa o wo. I u wa o a o e u a ay. s2 = I o' wa o wo. I u wa o a o e u a ay. s2 = I o' a o o. I u a o a o e u a ay. s2 = I o' a o o. I u a o a o e u a ay. s2 = I o' a o o. I u a o a o e u a a. s2 = I o' a o o. I u a o a o e u a a.