You will write a program that reads from a file called [login to view URL] and inside contains lines of text. Your program should store each line into a String. Assume that the end of each line are not the dot (.) but the character "\ n" which mean "new line". Each string will be stored in an array and at the end of file reading, it should hold all sentences that have been read from the file. Note that every sentence in the file will not exceed 1000 characters, and the file should not have more than 100 sentences.
The words are not case sensitive. Per example: the word Hello, HeLLo, HELLO, hello, hello, etc, is the same. (Think if there is any way to change the capitalization of the text immediately after the input and before you do any counting ...)
Also, if there are any punctuation after a word (!.,?; ...) can be considered part of the word that precedes it. p.e Mary! should be considered as one word and you should not have to split ! from Mary.
Your program should count the total number of words in the text, the total number of lines, and the total number of characters. Also, at the end should show a table with the frequency of each word in the text. So, for every word it should report how many times this word found in whole [login to view URL]
I have already worked on an app like this. Plus i have been working as c++ developer for last 3 years. Your work will be done with full dedication and will be delivered on time.
$100 USD en 2 días
0,0 (0 comentarios)
0,0
0,0
2 freelancers están ofertando un promedio de $75 USD por este trabajo