Question: Write a program in c++ that initializes a 1D array to store five values. Then perform the addition of these five values and display the
Write a program in c++
that initializes a 1D array to store five values. Then perform the addition of these five values and display the result. [Hint: you need to use two variable one for the array and one for storing the sum of the entered values.]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
