Cody

Solution 1707961

Submitted on 17 Jan 2019 by Rashmi Doijode
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
x = 52; y_correct = 12; assert(isequal(Mnum(x),y_correct))

2   Pass
x = 10; y_correct = 6; assert(isequal(Mnum(x),y_correct))

3   Pass
x = 9; y_correct = 4; assert(isequal(Mnum(x),y_correct))

4   Pass
x = 1000; y_correct = 308; assert(isequal(Mnum(x),y_correct))

5   Pass
x = 100; y_correct = 33; assert(isequal(Mnum(x),y_correct))

6   Pass
x = 2; y_correct = 2; assert(isequal(Mnum(x),y_correct))

7   Pass
x = 17; y_correct = 5; assert(isequal(Mnum(x),y_correct))

Suggested Problems

More from this Author45