Question: Introduction to programming Assignment #3: Arrays Student Name: Class Number Write C++ program that defines one-dimensional array of integers of size 15. The program wifll
Introduction to programming Assignment #3: Arrays Student Name: Class Number Write C++ program that defines one-dimensional array of integers of size 15. The program wifll each location of the array by the following (Index * 2 + 4) Example if the array index is 2 then the value stored in third location will be 8 Then do the following: 1. Find and print the summation of the elements. 2. Find and print the average of the elements. 3. Print the elements located in the first, last and middle (the locations are highlighted above)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
