I will need a full program (one *.c) which does the following (must
compile in any C compiler and use arrays). It should read 3 *.txt
files and then does the following:
- How many words in each file?
- How many characters?
- What is the longest word in the text?
- How many sentences?
- Report to show which text has the most words, the least words,
The most characters, the least characters, the most sentences, the
A sentence is a group of characters ending with a period (full stop).
Words are separated by spaces.
Ignore commas, periods and semi-colons in word length count. If the
last character of a word is a , or a . or a ; subtract one from the
Extra Tips if anyone does it within 24 hours.
Use any *.txt file to test it.