Enter array of numbers: Compute the sum of three elements
Compute the sum of three elements of a given array of integers of length 3.