Hello all!
Im doing java for the first time at uni this year, and im not gonna lie, its kicking my ass.
I need some help and advice for an assignment:
The program asks the user for the name of a file containing encrypted text (this i already have saved.) It then
reads the file and counts the number of times each letter appears in the text, and
the number of times each letter appears as the first letter of a word in the text (the
first letter on a line is counted as the first letter of a word, and any other letter in the
text where the previous character is not a letter counts as the first letter of a word.
For these counts, the case of the letters is ignored, so ‘a’ is counted as the same as
‘A’.
The program then lists out for each letter the number of times it appears (the
frequency count) and the percentage this number is of all the letters in the text. It
then also lists out for each letter the number of times it appears in the text as the
first letter.
Is it me or that quite tough? haha
:/
Regards