Hola amigos otra vez yo, fiejense que ya he tratado de buscar este error pero no se por que y como quitarlo le he revoisado varias veces y aun no hayo la respuesta ojla me pudieran echar la mano ya que me maraca un error
Wheel.java:33: Type Expected.
for (char count = 'A'; count <= 'Z'; count++) {
Y el codigo es este
class Wheel {
public static void main(String arguments[]) {
String prhase[] = {
"A SWITCH IN TIME SAVE NINE",
"DON'T EAT YELLOW SNOW",
"JUST DO IT",
"EVERY GOOD BOY DOES FINE",
"I WANT MY MTV",
"HOW BOUT THEM COWBOYS",
"PLAY IT AGAIN SAM",
"FROSTY THE SOWMAN",
"ONE MORE FROM DE ROAD",
"HOME FIELD ADVANTAGE",
"VALENTINEïS DAY MASSACRE",
"GROVER CLEVELAND OHIO",
"WONDERFUL WORLD OF DISNEY",
"COAL MINERïS DAUGTHER",
"WILL IT PLAY IN PEORIA"
};
int[] lettercount = new int[26];
for (int count = 0; count < phrase.length; count++) {
String current = phrase[count];
char[] letters = current.toCharArray();
for (int count2 = 0; count2 < letters.length; count2++) {
char lett = letters[count2];
if ((lett >= 'A') & (lett <= 'Z'))
letterCount[lett - 'A']++;
}
}
}
for (char count = 'A'; count <= 'Z'; count++) {
System.out.print(count + ": " + letterCount[count - 'A'] + "\t" );
}
System.out.println();
}
}