Question: Write a java program Generate a random int between 1990 and 2020. Then print it check if it's a leap year or not. Note:
Write a java program Generate a random int between 1990 and 2020. Then print it check if it's a leap year or not. Note: A leap year must satisfy any or both of the following conditions: Divisible by 400 Divisible by 4 and not divisible by 100 Sample output: 2015: false
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
