Problem 43173. Basic commands - Least common multiple

Solution 1190982

Submitted on 17 May 2017 by huashou
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))

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

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

Suggested Problems

More from this Author12

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!