Cody

Problem 2872. Feeling lucky?

Solution 1877126

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 in solution: Line: 2 Column: 28 Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters.

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!