|
-
Apr 21st, 2013, 05:15 AM
#6
Thread Starter
Hyperactive Member
Re: [RESOLVED] Sorting an array and showing it in descending order
The code posted by make me rain works as desired. The only thing I want to change this time is to add a new thing to the original code.
When I introduce N number of values, the code sort the arraylist in descending order and it's updated each time a new element is added to the arraylist. At the moment I want only add a piece of code that shows how many times the number has appeared.
I thought it was something like.... and the program shows how many times the number "4" has appeared. But it seems that I'm doing it in the wrong way.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|