sumOfElements This was an assignment I did in grade 12 to show my understanding of effective use of arrays. Basically, you enter random integers into an array one by one then you can choose to see the sum either all, odd or even numbers.