Cody

# Problem 43662. Use R2016b Text Manipulations to Fix These Addresses (Part 3)

Solution 2154866

Submitted on 9 Mar 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
x = '950 Blue Hill Ave.Dorchester, MA 02124'; y = string('950 Blue Hill Ave., Dorchester, MA 02124'); assert (all(y == myFun(x)));

Error in solution: Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "myFun".)

2   Fail
x = '259 Allandale Rd.Jamaica Plain, MA 02467'; y = string('259 Allandale Rd., Jamaica Plain, MA 02467'); assert (all(y == myFun(x)));

Error in solution: Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "myFun".)

3   Fail
x = '850 Harrison Ave.Boston, MA 02118'; y = string('850 Harrison Ave., Boston, MA 02118'); assert (all(y == myFun(x)));

Error in solution: Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "myFun".)

4   Fail
x = '23-29 Tucker St.Dorchester, MA 02124'; y = string('23-29 Tucker St., Dorchester, MA 02124'); assert (all(y == myFun(x)));

Error in solution: Line: 4 Column: 1 This statement is not inside any function. (It follows the END that terminates the definition of the function "myFun".)