Read a set of integers into a vector. Print the sum of each
pair of adjacent elements. Change your program so that it prints the sum of
the first and last elements, followed by the sum of the second and second-to last, and so on.
When running this programming, the output for adding the first and last element is equal to 11 for every output of the while loop. Why is 11 the output for every incrementation of the while loop and how might this code be improved?