Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int god = 1988;
- if(god%4!=0) {
- System.out.println(365);
- } else {
- if(god%100!=0 && god%400==0) {
- System.out.println(365);
- } else {
- System.out.println(366);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement