I've just started c and java this semester and and I'm writting a small program that calculates your handicap.

Basically all my calculation gets put into an array. But I have no idea how to get the information from that array.

The array holds 20 integers. I need to find the 10 smallest integers in the array.

I've heard its called sorting but im not sure what needs to be done.