I am trying to count and store the frequency each letter occurs form a .txt file . I am at the point where I can read back the file but I can not get any methods to work that would count the frequency of a letter in that file .
Simple ..no problems but here is some code that I think works in regard to counting the frequency but I am missing something to get it to function correctly ? Any ideas please let me know ! Thank you .
Again something where I think it would work but just do not see the error ?
So basically , I need to read a .txt file and print out that the character 'A' appeared x number of times .
Thank you again !