Listing 3
void getData(long array[],int size){ int count = size - 1; while(count >= 0){ cout << "Enter an integer value: "; cin >> array[count]; count = count - 1; }//end while loop }//end getData Listing 3