Cody

Solution 1662471

Submitted on 30 Oct 2018
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
N = 384; a_correct = 42; assert(isequal(age(N),a_correct))

a = 1×0 empty double row vector

Assertion failed.

2   Fail
N = 366; a_correct = 42; assert(isequal(age(N),a_correct))

a = 1×0 empty double row vector

Assertion failed.

3   Fail
N = 381; a_correct = 39 assert(isequal(age(N),a_correct))

a_correct = 39 a = 1×0 empty double row vector

Assertion failed.

4   Fail
N = 302; a_correct = 32; assert(isequal(age(N),a_correct))

a = 1×0 empty double row vector

Assertion failed.

5   Fail
N = 389; a_correct = 47; assert(isequal(age(N),a_correct))

a = 1×0 empty double row vector

Assertion failed.