Cody

Problem 2872. Feeling lucky?

Solution 1645865

Submitted on 14 Oct 2018 by Majid Farzaneh
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
y_correct = randi(10); assert(isequal(roulette(),y_correct))

ans = 5

Suggested Problems

More from this Author1

Community Treasure Hunt

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

Start Hunting!