Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
assert(isequal(daysUntilChristmas(2019,11,19),36))
day =
737748
christmasThatYear =
737784
num =
36
|
2 | Pass |
assert(isequal(daysUntilChristmas(2018,12,28),362))
day =
737422
christmasThatYear =
737419
num =
362
|
3 | Pass |
assert(isequal(daysUntilChristmas(2019,01,01),358))
day =
737426
christmasThatYear =
737784
num =
358
|
4 | Pass |
assert(isequal(daysUntilChristmas(2019,12,30),361))
day =
737789
christmasThatYear =
737784
num =
361
|
Make one big string out of two smaller strings
1148 Solvers
Remove the two elements next to NaN value
411 Solvers
360 Solvers
903 Solvers
1818 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!