Code Completion Challenge - Array Manipulation Challenge Solution

Array Challenge Solution

The following program will first fill in (by asking the user for input) and then list all the elements in an array:

#include <iostream>
      using namespace std;
      int main()
{
  int array[8];
  for(int x=0; x<8; x++)
  cin>>array[x];
  for(int x=0; x<8; x++)
  cout<<array[x];
  return 0;
}