Cody

Problem 44493. The great 82-year-old

Solution 1412591

Submitted on 10 Jan 2018 by J-G van der Toorn
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 = 20; y_correct = 'Yes'; assert(isequal(Age(x),y_correct))

2   Pass
x = 40; y_correct = 'Yes'; assert(isequal(Age(x),y_correct))

3   Pass
x = 82-1; y_correct = 'Yes'; assert(isequal(Age(x),y_correct))

Suggested Problems

More from this Author9

Community Treasure Hunt

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

Start Hunting!