How could I write a program that reads a file of words (assumed to be in lower case letters) and prints out the total number of words in the file?
Would it be something like this?:
printf(“Cannot open input file/n”);
I don't know how to do the bit in the middle.
If anyone can help, thank you very much.