Read in the first data item
Set the maximum to that
for all other data values
read in the next value
if the new value is greater than the maximum
set the maximum to the new value
If you run into a block, keep working. Look at it from different prospectives. Write down what you know. Come up with questions, figure out the things you don't understand.
Please Read Chapter 1.