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
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
Get step-by-step solutions from verified subject matter experts
