cout << "total number of words " << wordCount << endl;if (wordCount > 0)cout << "average word length "
cout << "total number of words " << wordCount << endl;if (wordCount > 0)cout << "average word length "
<< totalWordLen / wordCount << endl;cout << "total number of sentences "
<< totalSenCount << endl;
if (totalSenCount > 0) cout << "average sentence length "
<< wordCount / totalSenCount << endl;return 0;