随笔 - 67,  文章 - 0,  评论 - 0,  阅读 - 11820

/*import java.util.Scanner;
public class zuoye{
public static void main(String[] args){
System.out.println("请输入值");
Scanner a=new Scanner(System.in);
int b=a.nextInt();
int c=b%7;
if(c==1){
System.out.println("输出星期一");
}else if(c==2){
System.out.println("输出星期二");
}else if(c==3){
System.out.println("输出星期三");
}else if(c==4){
System.out.println("输出星期四");
}else if(c==5){
System.out.println("输出星期五");
}else if(c==6){
System.out.println("输出星期六");
}else if(c==0){
System.out.println("输出星期日");
}
}
}*/

posted on   ~王~  阅读(417)  评论(0编辑  收藏  举报
努力加载评论中...
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示