M
Mike Kitchen
A small poser.
Given 5 random numbers betwen 1 and 6, what is the easiest way to add up the
3 highest numbers.
I have a somewhat long winded method, but I wondered if anyone has some
simple ideas using the Math class, or any other method.
Thanks in advance
Given 5 random numbers betwen 1 and 6, what is the easiest way to add up the
3 highest numbers.
I have a somewhat long winded method, but I wondered if anyone has some
simple ideas using the Math class, or any other method.
Thanks in advance