![alesyabursevich](/avatars/28504.jpg)
alesyabursevich
01.01.2020 •
Mathematics
Explain answer
look at the picture
Solved
Show answers
More tips
- H Health and Medicine What vaccines do children need?...
- H Health and Medicine Reasons for the Appearance of Warts: Everything You Need to Know...
- G Goods and services What Are the Most Popular Services?...
- O Other What is the oldest joke ever told?...
- L Legal consultation How to Properly Inherit: Tips and Recommendations...
- C Computers and Internet Boost your processor performance with these easy tips...
- S Sport How does Bodyflex work: what is it and how does it work?...
- H Health and Medicine How to Whiten Teeth and Get the Perfect Smile...
- S Style and Beauty How to Properly Apply Eye Makeup: Tips from a Professional Makeup Artist...
- A Auto and Moto How Can Parking Sensors Help Drivers?...
Answers on questions: Mathematics
- M Mathematics PLEASE HELP jahsbaugdvs...
- M Mathematics HELP If p, q are distinct primes less than 7, what is the largest possible value of the highest common factor of 2p^2 q and 3pq^2?...
- M Mathematics On Saturdays, Jasmyn works three hours more than Eve. Which expression represents how many hours Jasmyn works on Saturdays? A 3e B e - 3 C e + 3 D 3 + 3e I NEED THIS PLS GIVE...
- M Mathematics How much should be deposited in an account paying 8.5% interest, compounded semiannually, in order to have a balance of $ 7,000 after 7 years and 6 months?...
- M Mathematics Write the equation for a line in slope-intercept form that has a y-intercept of (0,5) and a slope of 7. y = 5x +7 y=x+5/7 y=7x+5 y=7/5x y=x+7/5 y=5/7x...
- M Mathematics Help help meeeeee help...
- M Mathematics part 1 / my toxic bff : so basically me and this girl were best friends lets call her twinkle so me and twinkle were really close like really and so one week at school twinkle...
- M Mathematics What is (q–3)(q+3) simplified...
- M Mathematics Ammar hikes 2 3/4 miles of nature trail in 1 hour and 15 minutes. 4 How many miles of trail does Ammar hike per hour?...
- M Mathematics I need help give me help is it A B C D...
Ответ:
Ответ:
$26.
Ответ:
Check the explanation
Step-by-step explanation:
function [valid]=valid_date(y, m, d)
if ~isscalar(y) || ~isscalar(m) || ~isscalar(d)
valid=false;
return
end
if y>=1 && m>=1 && m<=12 && (ismember(m, [4 6 9 11]) && ismember(d, [1:30])) || (ismember(m, [1 3 5 7 8 10 12]) && ismember(d, 1:31))
valid=true;
elseif m==2 && (mod(y,4)==0 && mod(y,100)~=0 || mod(y,400)==0 && mod(y,100)==0) && ismember(d, 1:29)
valid=true;
elseif m==2 && ismember(d, 1:28)
valid=true;
else
valid=false;
return
end
end