Recent content by paanz
-
P
Locate maximum occuring element array in perl
if i want to print out the occurrence 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};}- paanz
- Post #6
- Forum: Programming and Computer Science
-
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) =...- paanz
- Post #4
- Forum: Programming and Computer Science
-
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) =...- paanz
- Post #3
- Forum: Programming and Computer Science
-
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...- paanz
- Thread
- Array Element Maximum
- Replies: 6
- Forum: Programming and Computer Science