Programming test for a company admission.
The program reads a file with years and writes a new file saying if each year is leap or not.
Input | Output |
---|---|
2000 | 2000;Bisiesto |
2001 | 2001;NO Bisiesto |
Ignores lines with incorrect years.
java -jar LeapYears.jar path/input path/output