So far, I tried doing it with this approach. !! NOT MY ACTUAL CODE MORE OF PSUEDO CODE.
int a, b, c ,d ,e ,f;
int firstPopular;
int secondPopular;
int thirdPopular;
and so on.
if (a > firstPopular) {
firstPopular = a;
}
and on and on to F
then
if (a < firstPopular) {
secondPopular =a;
}
and you know the rest.
However, this method doesn't work very well. Any ideas?

New Topic/Question
Reply



MultiQuote







|