nyear = 1975;
if (mod(nyear, 400) == 0)
   fprintf('%6u is a leap year', nyear)
elseif (mod(nyear,4) == 0) & (mod(nyear,100) ~= 0) 
   fprintf('%6u is a leap year', nyear)
else
   fprintf('%6u is not a leap year', nyear)
end
