Question: The given string is not a pangram, you are missing the letters: d, g Some more pangrams to check your program are: Pack my box
The given string is not a pangram, you are missing the letters: d, g Some more pangrams to check your program are: Pack my box with five dozen liquor jugs The five boxing wizards jump quickly. (10 points) Write a program to request a file name from the user and calculate the following statistics of the contents of the file: 4. Number of lines Number of words Number of characters In this problem use the following definitions: A line is a sequence of characters that end with a newline (1n) character A word bounded by one or more spaces on either side of it (or both sides) A character is any single length string, e.g. 'a', '-, etc. but not a space An example file called gettysburg address.txt is included in the homework files Sample Run What is the filename: gettysburg address.tct Number of lines: 5 Number of words: 271 Number of characters: 1470
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
