Cody

Solution 1995658

Submitted on 29 Oct 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
n = 3; y_correct = [4 4 4]; assert(isequal(fours(n),y_correct))

y = 3 3 3

Assertion failed.

2   Fail
n = 5.5; y_correct = [4 4 4 4 4 4]; assert(isequal(fours(n),y_correct))

y = 6 6 6

Assertion failed.

3   Fail
n = 7; y_correct = [4 4 4 4 4 4 4]; assert(isequal(fours(n),y_correct))

y = 7 7 7

Assertion failed.

4   Fail
n = -2; y_correct = [4 4]; assert(isequal(fours(n),y_correct))

y = 2 2 2

Assertion failed.