从2000年-2013年期间有多少个闰年

    <%!
     int findYear(){
            int count=0;
            for(int year=2000;year<=2013;year++){
                if((year%4==0&&year%100!=0)||year%400==0){
               
                         count++;
                            
                }
                       
            }
              return count;   
     }
 
      %>
     从2000年-2013年期间 ,共有<%=findYear() %>个闰年

原文地址:https://www.cnblogs.com/1-9-9-5/p/7147800.html