One Dimensional Array Exercise
Write a C++ program that includes the following:
Declare an integer array of size 10
Ask user to enter 10 numbers for the array
Print out the array in index ascending order
Print out the array in index descending order
Find the sum of the array and print it out
Copyright: Department of Computer Science, University of Regina.