Cody

# Problem 43740. Create a New_Word

Solution 2716686

Submitted on 20 Jul 2020
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
Old_Word = 'Welcome'; y_correct = 'meelcoy'; assert(strcmp(New_Word(Old_Word),y_correct))

ans = 'meelcoy'

Output argument "y" (and maybe others) not assigned during call to "New_Word". Error in Test1 (line 3) assert(strcmp(New_Word(Old_Word),y_correct))

2   Fail
Old_Word = 'Pertinacious'; y_correct = 'usertinacioy'; assert(strcmp(New_Word(Old_Word),y_correct))

ans = 'usertinacioy'

Output argument "y" (and maybe others) not assigned during call to "New_Word". Error in Test2 (line 3) assert(strcmp(New_Word(Old_Word),y_correct))

3   Fail
Old_Word = 'Homogenous'; y_correct = 'usomogenoy'; assert(strcmp(New_Word(Old_Word),y_correct))

ans = 'usomogenoy'

Output argument "y" (and maybe others) not assigned during call to "New_Word". Error in Test3 (line 3) assert(strcmp(New_Word(Old_Word),y_correct))

4   Fail
Old_Word = 'Homologous'; y_correct = 'usomologoy'; assert(strcmp(New_Word(Old_Word),y_correct))

ans = 'usomologoy'

Output argument "y" (and maybe others) not assigned during call to "New_Word". Error in Test4 (line 3) assert(strcmp(New_Word(Old_Word),y_correct))

5   Fail
Old_Word = 'Extemperaneous'; y_correct = 'usxtemperaneoy'; assert(strcmp(New_Word(Old_Word),y_correct))

ans = 'usxtemperaneoy'

Output argument "y" (and maybe others) not assigned during call to "New_Word". Error in Test5 (line 3) assert(strcmp(New_Word(Old_Word),y_correct))

6   Fail
Old_Word = 'Deterministic'; y_correct = 'iceterministy'; assert(strcmp(New_Word(Old_Word),y_correct))

ans = 'iceterministy'

Output argument "y" (and maybe others) not assigned during call to "New_Word". Error in Test6 (line 3) assert(strcmp(New_Word(Old_Word),y_correct))