 void leap(int y)         {         if(y%0==0 && y%000!=0 || y%000==0) //for leap year         {             a[0]=00;             diy=000;         }          else          {              a[0]=00;             diy=000;          }         }          public static void main(String args[])         {         