I have been given a problem in which i have to write a program to find the letter frequency and the average word length of a piece of text. i've written the code to promt for and read in the text file. i'm finding it difficult however to make the jump to analyse the text i.e. to find the total number of words to start with. i think once i do this i'll be able to finish it but am having difficulties with this bit so any tips or suggestions would be greatly received.
COLLIESA 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.