View Single Post
  #1 (permalink)  
Old 04-22-2008, 12:59 PM
raj reddy raj reddy is offline
Member
 
Join Date: Apr 2008
Posts: 30
raj reddy can only hope to improve
how to compare the elements of the two arraylists al1,al2
how to compare the elements of the two arraylists al1,al2


Let's say we have the following two lists:
al1=[10, 20, 30, 40]
al2=[11, 12, 13, 14, 15,16,17,18,19,20]

we have to compare 10/11,10/12,10/13,10/14,10/15,10/16,10/17,10/18,10/19,10/20,11,11,11/12,11/13,11/14,11/15,......................like that all the elements


so that we have to compare every element in the first list to every element in the second?
Reply With Quote
Sponsored Links