Question: Design and implement a program that counts the number of punctuation marks in a text input file. Show how many times each symbol occurred. In

Design and implement a program that counts the number of punctuation marks in a text input file. Show how many times each symbol occurred. In addition to that original requirement, I want your program to have the following 1. Your program will use the text file that I have supplied you: Chp5.txt 2. Your program will create a counter variable for each value that you are counting. (A minimum of 9) 3. Your program must use if statement(s). No switch statements are allowed. 4. Your program will keep track of the following punctuation: a. ( left parenthesis b. ) right parenthesis c. , commas d. . periods e. ! exclamation points f. ? question marks g. * asterisk marks 5. Your program will also keep track of the total number of vowels (a,e,i,o,u) in the file. I only want one total for this. I do not want a total for each vowel. Make sure you consider both capital and lowercase vowels in your count. Your program should be checking all variation of vowels, even if some dont occur in the supplied text. (For example, there might not be a capital U in the supplied file but your program still needs to check for it.) 6. Your program will also keep track of numeric digits in the file. I only want one total for this. Realize that the number 2900 would contain 4 numeric digits 7. Even though the original problem states that the results be placed in a table, the results should be placed in the standard input/output window. You may use a JFrame if you wish, but it will not earn you any extra points. Display totals for each of the 7 punctuations, 1 vowel total and 1 digit total.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!