Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. 20 points Write your own C++ program that will calculate the percentage of characters in a file that belong to five categories: uppercase characters,
2. 20 points Write your own C++ program that will calculate the percentage of characters in a file that belong to five categories: uppercase characters, lowercase characters, decimal digits, blanks, and end-of-sentence punctuation marks. A sample run of the program may look like this: Enter the name of the file to be processed text.in Analysis of characters on input file text.in Percentage of uppercase characters: 3.078 Percentage of lowercase characters: 78.139 Percentage of blanks: 17.367 Percentage of digits: 0.342 Percentage of end-of-sentence punctuation 1.075 2. 20 points Write your own C++ program that will calculate the percentage of characters in a file that belong to five categories: uppercase characters, lowercase characters, decimal digits, blanks, and end-of-sentence punctuation marks. A sample run of the program may look like this: Enter the name of the file to be processed text.in Analysis of characters on input file text.in Percentage of uppercase characters: 3.078 Percentage of lowercase characters: 78.139 Percentage of blanks: 17.367 Percentage of digits: 0.342 Percentage of end-of-sentence punctuation 1.075
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started