Cody

Solution 1982361

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

t = 'me' y = 'elcomey'

Assertion failed.

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

t = 'us' y = 'ertinaciousy'

Assertion failed.

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

t = 'us' y = 'omogenousy'

Assertion failed.

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

t = 'us' y = 'omologousy'

Assertion failed.

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

t = 'us' y = 'xtemperaneousy'

Assertion failed.

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

t = 'ic' y = 'eterministicy'

Assertion failed.

Suggested Problems

More from this Author1