Cody

Solution 2033376

Submitted on 24 Nov 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   Pass
a = 8; b=6; y_correct = 24; assert(isequal(mul(a,b),y_correct))

y = 24

2   Fail
a = 13; b=17; y_correct = 221; assert(isequal(mul(a,b),y_correct))

Output argument "y" (and maybe others) not assigned during call to "mul". Error in Test2 (line 4) assert(isequal(mul(a,b),y_correct))

3   Pass
a = 12; b=18; y_correct = 36; assert(isequal(mul(a,b),y_correct))

y = 36

Suggested Problems

More from this Author12