Cody

Problem 2872. Feeling lucky?

Solution 1877107

Submitted on 17 Jul 2019
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   Fail
y_correct = randi(10); assert(isequal(roulette(),y_correct))

Error: You may not use the command(s) evalin in your code

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!