Question: javascript 4.2.5 points - Write a function that finds the leap years in a given range. Things to note: You will need to take in

javascript
 javascript 4.2.5 points - Write a function that finds the leap

4.2.5 points - Write a function that finds the leap years in a given range. Things to note: You will need to take in two arguments in your function that should be numbers You will need to store multiple years (there could be multiple leap years in a given range). Think about the best way to store a collection of ordered data Once you have found the leap years in the range, log each leap year to the console. Leap Year Test Is year Is year divisible Yes Is year divisible Leap Year divisible by 100 ? by 4 by 4002 20 sto Not a Leap Year Leap Year Not a Leap Year Call your function three times with the following pairs ot arguments: 2003, 2019 1928, 1974

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!