Answered step by step
Verified Expert Solution
Question
1 Approved Answer
command option FinalExam- Programming in C++ Spring 2018 Due: Thursday May 29th 2018 at 6:30pm in the computer lab. 1. W rite a C++ program
command option FinalExam- Programming in C++ Spring 2018 Due: Thursday May 29th 2018 at 6:30pm in the computer lab. 1. W rite a C++ program which accepts the name of a text file, reads in that file, and prints out the following information about the file: . a list of all letters (A through Z) in that file, disregarding case (e.g. count "a" and "A" as two occurrences of the letter A), ordered with the most frequently used letter first and the least frequently used letter last, along with the number of times each letter was used an alphabetized list of all distinct words in that file with the number of times each word was used the average number of letters in a word the average number of words in a sentence 2. Create a folder with your name S 2018 example: C Siller -S 2018 and put the files for your application in the folder. For Use the following example paragraph to set up your test input text fil Any experienced programmer engaged in writing programs for use by others knows that, once his program is working correctly, good output is a must. Few people really care how much time and trouble a programmer has spent in designing and debugging a program. Most people see only the results. Often, by the time a programmer has finished tackling a difficult problem, any output may look great. The programmer knows what it means and how to interpret it. However, the same cannot be said for others, or even for the programmer himself six months hence. You can create the text file using notepad. You do not have to create an application to write the text file. A program that works correctly according to specifications can earn 90 points. Additional points may be added by writing the program so that it works with ANY file. You MAY NOT use pre-defined functions like SORTO or SPLITO -write your own. Ask if you are not sure You need to create at least one class with member functions and use it in you program Deliverables: - copy of the code fully documented - plus a folder on the desktop of the machine in front with the source code - documentation MUST include your thoughts on how to approach the problem. Comment out but leave in any code that does not work (include a comment saying that the code did not work) two screen prints of the results - one showing the results if the file is not found and the second screen print show the results if the file is found
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