Cody

Solution 1821202

Submitted on 21 May 2019 by Eric Mueller
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 = 0.63; y_correct = [1 0 1 0 1 1]; assert(isequal(coins(x),y_correct))

2   Pass
x = 0.49; y_correct = [0 2 0 1 2 0]; assert(isequal(coins(x),y_correct))

Suggested Problems

More from this Author12