// pgm27 (Same as pgm26, just reading from a file // 11/7/2016 // partially filled arrays // WITH a while loop. Program counts how many data elts // are being entered. #include #include #include using namespace std; const int SIZE=25; int main() { ifstream inputFile("idnumbers.txt"); if (!inputFile) cout << "file did not open."; // allocate an array of size SIZE int idnums[SIZE], numelts=0; // read in the values into the array while (inputFile >> idnums[numelts] && numelts