Cody

Solution 1904256

Submitted on 19 Aug 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 = 48 y = 24

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

y = 221

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

y = 216 y = 108 y = 36 y = 6

Assertion failed.