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++)
  for(int x=0; x<8; x++)
  return 0;