Cody

Solution 288629

Submitted on 24 Jul 2013 by VASILEIOS VITANOPOULOS
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(times2(1),2));
i = 2
2   Pass
%% assert(isequal(times2(11),22));
i = 2
3   Pass
%% assert(isequal(times2(-3),-6));
i = 2
4   Pass
%% assert(isequal(times2(29),58));
i = 2