我们可以使用枚举来简化这个问题的实现: importjava.util.Scanner;publicclassWeekdayDescription{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in);System.out.print("Enter a weekday (1-7): ");intinput=scanner.nextInt();Weekdayweekday=Weekday.values()[input-1];System.out.printl...