On 29/10/11 11:30, Faith Tarcha wrote:
> I am new to programming and will appreciate any kind of help as I am
> getting desperate sometimes.
What have you tried so far?

This looks like a homework question, so I would suggest you look at:

    * Finding the number of elements in an array
    * Generating a random number between 0 and n (to pick a random 
element in an array)
    * Retrieving a specific element from an array


Peter