Some Simple Loop Problems
Given an array of 10 elements populate the
array and
- print out the contents of the array
- sum the elements in the array
- sum the even elements of the array
- print the largest value in the array
- locate the first occurrence of the value 9 in the array (if it exists)