 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[])         {         Scanner ob=new Scanner(System.in);         System.out.println("Enter the months,dates and years");         m0=ob.nextInt();         m0=ob.nextInt();         d0=ob.nextInt();         d0=ob.nextInt();         y0=ob.nextInt();         y0=ob.nextInt();         for(i=y0;i<y0;i++)         {             