Note that your logic may fail if there are duplicate entries in the array. You may get "A"s, "B"s or "-"s more/less than required percentage depending on your implementation.
In reply to Re: Top and bottom 10 percent elements of an array
by samarzone
in thread Top and bottom 10 percent elements of an array
by sesemin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |