Feeds
답변 있음
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid.
function valid = valid_date(year, month, day) if isscalar(year) && isscalar(month) && isscalar(day) if month < 1 || month...
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid.
function valid = valid_date(year, month, day) if isscalar(year) && isscalar(month) && isscalar(day) if month < 1 || month...
거의 4년 전 | 0
