Recent content by paanz

  1. P

    Locate maximum occuring element array in perl

    if i want to print out the occurence more than 2 times only,u said i can iterate over the (keys %count) array... i still don get it... is it like this... if (keys %count > 2){print $count{$value};}
  2. P

    Locate maximum occuring element array in perl

    thanks davee... all I am saying is just an example...im not give the proper example which is I am sorry... btw...thanks ur answer... im just wondering... how if I am want to print all the element in that array with showing the max occur... like this... my(@a) =...
  3. P

    Locate maximum occuring element array in perl

    thanks davee... all I am saying is just an example...im not give the proper example which is I am sorry... btw...thanks ur answer... im just wondering... how if I am want to print all the element in that array with showing the max occur... like this... my(@a) =...
  4. P

    Locate maximum occuring element array in perl

    guys..i need help... how to extract a maximum occurring element in array using perl... example... a[1]=11; a[2]=12; a[3]=13; a[4]=14; a[5]=15; a[6]=13; a[7]=14; a[8]=14; we will see that, 14 is the most occurring at element 8... how to know the no of frequently it...
Back
Top