Cody

Solution 539370

Submitted on 2 Dec 2014 by rifat
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=6; b=12; y_correct=30 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 30 ans = 30

2   Pass
%% a=7; b=14; y_correct=35 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 35 ans = 35

3   Pass
%% a=3; b=6; y_correct=15 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 15 ans = 15

4   Pass
%% a=5; b=40; y_correct=65 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 65 ans = 65

5   Pass
%% a=5; b=90; y_correct=125 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 125 ans = 125

6   Pass
%% a=12; b=54; y_correct=102 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 102 ans = 102

7   Pass
%% a=16; b=18; y_correct=58 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 58 ans = 58

8   Pass
%% a=16; b=72; y_correct=136 assert(isequal(your_fcn_name(a,b),y_correct))

y_correct = 136 ans = 136