string ToUpper(string phrase);
struct MyDataT {
string word;
int count;
};
void FindExtreme(string fileName, int & max, int & min);
int count;
int data;
ifstream inFile;
inFile.open("afile.txt");
while (inFile) {
inFile >> data;
count++;
}
cout << "There are " << count << " elements in the file" << endl;