Ashish for(int i=0;i<t;i++) if(list.get(i)%7==1 || list.get(i)%7==0) System.out.println("second"); else System.out.println("First") I don't get the algorithm of this part. can anyone explain? Log in to Reply
for(int i=0;i<t;i++)
if(list.get(i)%7==1 || list.get(i)%7==0)
System.out.println("second");
else
System.out.println("First")
I don't get the algorithm of this part. can anyone explain?