This exercise assumes you have completed the Programming Exercise 7, Word Lis File Writer. Write another program

Question:

This exercise assumes you have completed the Programming Exercise 7, Word Lis File Writer. Write another program that reads the words from the file and displays the following data:

• The number of words in the file.

• The longest word in the file.

• The average length of all of the words in the file.


Programming Exercise 7

Write a program that asks the user how many words they would like to write to a file, and then asks the user to enter that many words, one at a time. The words should be written to a file.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: