Solution 1698555

Submitted on 22 Dec 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
y=2020; n=bondcount(y); assert(isequal(round(n),27))

ans = 25.8351

Assertion failed.

2   Fail
y=2100; n=bondcount(y); assert(isequal(round(n),52))

ans = 47.5567

Assertion failed.

3   Fail
y=2289; n=bondcount(y); assert(isequal(round(n),100))

ans = 87.6416

Assertion failed.

4   Fail
y=4661; n=bondcount(y); assert(isequal(round(n),500))

ans = 393.1826

Assertion failed.

Suggested Problems

More from this Author10