Fazal Hussain
Followers: 0 Following: 0
Programming Languages:
C++
Spoken Languages:
English
C++
Spoken Languages:
English
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 isvalid = valid_date(y, m, d) % Check if the inputs are valid % Check that they are scalars if ~(isscalar(y) && iss...
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 isvalid = valid_date(y, m, d) % Check if the inputs are valid % Check that they are scalars if ~(isscalar(y) && iss...
거의 3년 전 | 0