Write a leapYear() function that accepts the year as an integer and returns true if the year is a leap year and false if it is not a leap year. Usually, years that are divisible by 4 are leap years, for example 1996. However, years that are divisible by 100 (for example, 1900) are not leap years, but years that are divisible by 400 are leap years (for example, 2000).
Extra Credit: As a comment at the very bottom of your program, explain why the year 1582 is significant in the leap year world.
B) Write a randomInRange() function that accepts two integer parameters. The parameters will represent the low number and the high number (both inclusive) in the random range. For example, when the function receives 3 and 8, it will return a random number in the range of 3-8.