import java.util.Scanner;
public class Meses{
public static void main(String []args){
Scanner entrada = new Scanner(System.in);
String ent;
String[] mes = new String[12];
mes[0] = "enero";
mes[1] = "febrero";
mes[2] = "marzo";
mes[3] = "abril";
mes[4] = "mayo";
mes[5] = "junio";
mes[6] = "julio";
mes[7] = "agosto";
mes[8] = "septiembre";
mes[9] = "octubre";
mes[10] = "noviembre";
mes[11] = "diciembre";
String mesSecreto = mes[5];
System.out.println("Adivine el mes secreto. Introduzca el nombre del mes en minuscula: ");
boolean desicion = false;
while(desicion == false){
ent = entrada.nextLine();
if(mesSecreto.equalsIgnoreCase(ent)){
desicion = true;
System.out.println("Haz acertado!!");
}else{
System.out.println("No haz acertado. Intente adivinarlo introduciendo otro mes: ");
}
}
}
}