C++ Project 5

Here is 1 of the 4 problems in the project:
Write a program that will compute the average word length for a file that contains text. Your program should define a function that is called with the input-file stream as an argument. This function should also work with the stream cin as the input stream, although the function will not be called with cin as an argument in this program.

Ignore problem #5, on the attached file. That is not a part of the Project.

Leave a Reply

Your email address will not be published. Required fields are marked *