- public class DetermineLeapYearExample {
- public static void main(String[] args) {
- //year we want to check
- int year = 2004;
- //if year is divisible by 4, it is a leap year
- if((year % 400 == 0) || ((year % 4 == 0) && (year % 100 != 0)))
- System.out.println("Year " + year + " is a leap year");
- else
- System.out.println("Year " + year + " is not a leap year");
- }
- }
Sunday, 20 November 2016
Home »
» Problem 32 - Kabisat
Problem 32 - Kabisat
Saya hanya lelaki seperti etnis cina dengan mata sipit dan hidung pesek.
0 comments:
Post a Comment