Listing 3

    cout << "Array contents:" << endl;
    count = 0;
    while(count < size){
      cout << values[count] << " ";
      count = count + 1;
    }//end while loop
    cout << endl;
  
Listing 3