Cody

Solution 487486

Submitted on 18 Aug 2014 by Jan Orwat
  • Size: 10
  • This is the leading solution.
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))

k = 6 k = 4 k = -100 k = -0.0600 k = -2

Suggested Problems