importjava.util.Scanner;publicclassEjercicio10{publicstaticvoidmain(String[]args){finalString[]dias={"domingo","lunes","martes","miercoles","jueves","viernes","sabado"};Scannerentrada=newScanner(System.in);System.out.printf("Ingrese un dia: ");Stringdia=entrada.nextLine();if(dia.equals(dias[0])||dia.equals(dias[6])){System.out.printf("El "+dia+" no es un dia laboral\n");}else{for(inti=1;i<dias.length-1;i++){if(dia.equals(dias[i])){System.out.printf("El "+dia+" es un dia laboral\n");}}}entrada.close();}}