import cs1.Keyboard;public class leapyear{ public static void main (String[] args) { int year; String redo = new String ("y"); System.out.println ("Justin's Leap year Finder"); while (redo.equalsIgnoreCase("y")) { System.out.print ("Please Enter a year: "); year = Keyboard.readInt(); if (year >= 1582 && year <= 9999 && year % 4 == 0 && (year % 100 != 0 || year % 400 == 0)) { System.out.println (year + " is a Leap Year!!!"); } else { System.out.println (year + " is a Leap Year!!!"); } System.out.print ("Enter another year [y/N]?: "); redo = Keyboard.readString(); } }}