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
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.
Step by Step Solution
3.44 Rating (167 Votes )
There are 3 Steps involved in it
To complete this exercise you can first write a program to create the word list file as described in ... View full answer
Get step-by-step solutions from verified subject matter experts
