Monday, November 7, 2011

Can someone help me with this array question?

An array of integers scores has at least two elements, and its elements are arranged in ascending order (that is, scores [i] <= scores [i+1]). Write a condition that tests whether all the elements in scores have the same values. *Hint: you do not need iterations*

No comments:

Post a Comment