Im trying to use functions and loops to achieve this. In C++syntax please
Write a program that asks the user to enter 5 integers into an array. The program then displays the contents of the array back to the user and a total of all the numbers in the array This is not a group assignment, you must work on it on your own. A 20-Point Sample Run: Enter 5 integers separated by spaces: 8
OR
OR