Cody

Problem 2858. Matlab Basics - Logical Tests I

Write a script to test whether a year number is for a leap year or not.

eg. x = 1884 output = 1

eg. x = 3 output = 0

Solution Stats

43.02% Correct | 56.98% Incorrect
Last Solution submitted on Jan 10, 2020

Problem Comments

Solution Comments