Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 1900:2000;
assert(isequal( leap_count(n),25))
|
2 | Pass |
n = 100:2000;
assert(isequal( leap_count(n),461))
|
3 | Pass |
n = 1600:2000;
assert(isequal( leap_count(n),98))
|
4 | Pass |
n = 3000;
assert(isequal( leap_count(n),0))
|
5 | Pass |
n = 377:467;
assert(isequal( leap_count(n),22))
|
Return the first and last character of a string
3453 Solvers
424 Solvers
306 Solvers
2459 Solvers
Convert from Fahrenheit to Celsius
7171 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!