-
1 Comment
liu xinyangon 7 Aug 2019
This test program is wrong.To judge a leap year, you need to calculate if the following condition is satisfied mod(year,4)==0 & mod(year,100)~=0 & mod(year,400)==0. However, this team only count those years that mod(year,4)==0
Suggested Problems
3743 Solvers
879 Solvers
469 Solvers
Getting the indices from a matrix
475 Solvers
Spot the First Occurrence of 5
393 Solvers
More from this Author95
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!