文件名称:Day Classifier
文件大小:446B
文件格式:JAVA
更新时间:2012-12-30 14:23:47
java 判定日期
Write a program DayClassifier.java that reads an integer from the keyboard, and displays the following message: If the number is between 1 and 7, ‘a day of the week’ is displayed. If the number is 6 or 7, ‘weekend and a day of the week’ is displayed. For any other number, ‘not a valid day’ is displayed.