Hi there guys, I have homework to do a program given as input a document read from a text file will similatae MS words word count tool to create the following statistic:
number of word: 45
number of line: 30
number of white space character: 73
number of non white space character: 241
total number of character (white space + non white space): 314
It just have to display the number of word, lines, number of white spaces and the number of non white space and the total