Cody

# Problem 2214. Return the names and values of the input arguments of a function

Solution 2164142

Submitted on 18 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 = 1; y=3; assert(isequal(function_io(x,y),' "x" = 1 "y" = 3'))

out1 = '"x"'

Output argument "output" (and maybe others) not assigned during call to "function_io". Error in Test1 (line 3) assert(isequal(function_io(x,y),' "x" = 1 "y" = 3'))

2   Fail
x = 100; y= 356; z = 400; assert(isequal(function_io(x,y,z),' "x" = 100 "y" = 356 "z" = 400'))

out1 = '"x"'

Output argument "output" (and maybe others) not assigned during call to "function_io". Error in Test2 (line 4) assert(isequal(function_io(x,y,z),' "x" = 100 "y" = 356 "z" = 400'))

3   Fail
x = 0; assert(isequal(function_io(x),' "x" = 0'))

out1 = '"x"'

Output argument "output" (and maybe others) not assigned during call to "function_io". Error in Test3 (line 2) assert(isequal(function_io(x),' "x" = 0'))

4   Fail
abc = 0; pqr = 1; xyz = 2; assert(isequal(function_io(abc,pqr,xyz),' "abc" = 0 "pqr" = 1 "xyz" = 2'))

out1 = '"abc"'

Output argument "output" (and maybe others) not assigned during call to "function_io". Error in Test4 (line 4) assert(isequal(function_io(abc,pqr,xyz),' "abc" = 0 "pqr" = 1 "xyz" = 2'))