and the 3rd poison bottle you have is:
Scanner input = new Scanner(System.in);
System.out.println("Enter a sentence to count the occurence of each letter");
...
Type: Posts; User: Voodoo
and the 3rd poison bottle you have is:
Scanner input = new Scanner(System.in);
System.out.println("Enter a sentence to count the occurence of each letter");
...
Einsteinium, your 2nd poison vial is:
for(int i=0;i<sentence.length();i++){
if(Character.isLetter(sentence.charAt(i)))
count[sentence.charAt(i) - 'a']++;...
man, Einsteinium, you commit a basic error and wonder why you're killed;)) the poison is
int[] count = letterOccurence(words.toLowerCase());
for(int i=0;i<words.length();i++){
..
}
to detox