Write a program that will count Solution

12.13 (Count characters, numberOfWords, and numberOfLines in a file) Write a program that will count
the number of characters, numberOfWords, and numberOfLines in a file. Words are separated by
whitespace characters.
The file name for this question will be collected from the user using an appropriate prompt.
The report should look something similar to the output in Figure 12.13

Powered by