Cody

Solution 1713834

Submitted on 23 Jan 2019 by Valentin Noël-Youïnou
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
assert(isequal(multPec(2,3),6)) assert(isequal(multPec(2,2),4)) assert(isequal(multPec(10,-10),-100)) assert(isequal(multPec(.2,-.3),-.06)) assert(isequal(multPec(2i,1i),-2))

[Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In multPec (line 2) In ScoringEngineTestPoint1 (line 1) In solutionTest (line 3)] [Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In multPec (line 2) In ScoringEngineTestPoint1 (line 3) In solutionTest (line 3)] [Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In multPec (line 2) In ScoringEngineTestPoint1 (line 5) In solutionTest (line 3)] [Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In multPec (line 2) In ScoringEngineTestPoint1 (line 7) In solutionTest (line 3)] [Warning: Function assert has the same name as a MATLAB builtin. We suggest you rename the function to avoid a potential name conflict.] [> In unix (line 32) In multPec (line 2) In ScoringEngineTestPoint1 (line 9) In solutionTest (line 3)]