Question

Given the following custom function: function [ tf ) - IsLeapYear( yr) (rem (yr, 100) ==06& rem (yr, 400) -=0) tf = 0; if rem
0 0
Add a comment Improve this question Transcribed image text
Answer #1

yr will contain any year that will pass to the tf function eg 2000 or 2004 or 2008 etc

yr value will be modulo by 4 then 100 and then 400 and compare its output with 0 or non 0

if you have any doubt then please ask me without any hesitation in the comment section below , if you like my answer then please thumbs up for the answer , before giving thumbs down please discuss the question it may possible that we may understand the question different way and we can edit and change the answers if you argue, thanks :)

Add a comment
Know the answer?
Add Answer to:
Given the following custom function: function [ tf ) - IsLeapYear( yr) (rem (yr, 100) ==06&...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT