function isLeap= leap_year(year) if mod(year, 4) == 0 if mod(year, 100) == 0 if mod(year, 400) == 0 fprintf("leap Year"); else fprintf("Not Leap Year") end else isLeap = true; end else fprintf("Not Leap Year") end end