Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
year = 1902;
foms_correct = 2;
assert(isequal(day_counter( year ),foms_correct))
ans =
2 5 5 1 3 6 1 4 0 2 5 0
ans =
2
|
2 | Pass |
year = 2002;
foms_correct = 2;
assert(isequal(day_counter( year ),foms_correct))
ans =
1 4 4 0 2 5 0 3 6 1 4 6
ans =
2
|
3 | Pass |
year = 1996;
foms_correct = 3;
assert(isequal(day_counter( year ),foms_correct))
ans =
0 3 4 0 2 5 0 3 6 1 4 6
ans =
3
|
4 | Pass |
year = 1885;
foms_correct = 1;
assert(isequal(day_counter( year ),foms_correct))
ans =
3 6 6 2 4 0 2 5 1 3 6 1
ans =
1
|
306 Solvers
Cell Counting: How Many Draws?
581 Solvers
331 Solvers
Calculate square and cube of number
248 Solvers
903 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!