% mdays4.m
m=input('Give month of year (Jan is 1  .. Dec is 12) ');
switch m
case { 1, 3, 5, 7, 8, 10, 12}
  disp('31 days');
case { 4,6,9,11}
  disp('30 days');
case 2
  disp('February');
end
