
This is a simple sorting problem for you.
Generate three random numbers using $RANDOM. If you want to "fix" your results use
RANDOM=n //where n is some fixed integer
Now, compute the average of the three and store it in a vector.
print the original vector.
Sort the vector lowest to highest and print it on the screen.