1
0

QucikProgs.java 454 B

123456789101112131415161718192021222324
  1. /*
  2. * To change this template, choose Tools | Templates
  3. * and open the template in the editor.
  4. */
  5. package qucikprogs;
  6. /**
  7. *
  8. * @author LH
  9. */
  10. public class QucikProgs
  11. {
  12. /**
  13. * @param args the command line arguments
  14. */
  15. public static void main(String[] args)
  16. {
  17. int year=104;
  18. boolean is_leap=(!(year%100==0&& !(year%400==0))&&year%4==0);
  19. System.out.println(is_leap);
  20. }
  21. }