Community Profile

photo

Faris Shaikh


Last seen: 4 years ago Active since 2019

Followers: 0   Following: 0

Statistics

  • Promoter

View badges

Feeds

View by

Question


My code keeps breaking for a few data input, Please help! The Question is: 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 fa
function valid = valid_date(year, month, day) valid = false; if isscalar(year) && year>0 && isscalar(month) && month~=0 && iss...

5 years ago | 1 answer | 0

1

answer