Arrays

I have a data set
int arr[10]={0, 9, 2, 1, 8, 1, 10, 0, 5, 0}
and I need to find the greatest drop which is 7th element but my code does not work.
Anyone can sort this out ?
Many thanks.
Try posting what you have done and what errors you got. Then you might get an answer.
ok will do.
thanks
Topic archived. No new replies allowed.