I have a set of four numbers.
A = {10, 8, 11, 2}
I have to find the rank of a number in the above set. Please help me in writing a suitable mathematical equation for finding the rank of a given number.
for ex: rank of 8 in the above array is '2'. rank of 11 is '4'.
Thanks Sincerely, Ram.