Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- do{
- try {
- System.out.print("Escriba una opción: [Day/Mounth/Year/Time/All/End]: ");
- Scanner teclado=new Scanner(System.in);
- fecha=(teclado.next()).toUpperCase();
- switch(fecha)
- case "DAY":
- break;
- case "MOUNTH":
- break;
- case "YEAR":
- break;
- case "TIME":
- break;
- case "ALL":
- break;
- case "END":
- break;
- default :
- valido = false;
- break;
- while (valido);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement