Get the first integer
Move the first integer to max
Move the first integer to current
Program should stop and return max if current is -1
Get the next integer
Move the next integer to current
Program should stop and return max if current is -1
If current is greater than max
Move current to max
end if
Get the next integer
Move the next integer to current
Program should stop and return max if current is -1
If current is greater than max
Move current to max
end if
Get the next integer
Move the next integer to current
Program should stop and return max if current is -1
If current is greater than max
Move current to max
end if
Get the next integer
Move the next integer to current
Program should stop and return max if current is -1
If current is greater than max
Move current to max
end if
.
.
.
Do you see any problems with this approach?