Storing an array using arduino

Hi,

I want to store an array using arduino. I am taking live readings and want to store 20 values in an empty array. Afterwards i want to find the largest element in the array and display it.
How should i go ahead with it.