switch语句实现周一到周五输出weekday;周六周天weekend C语言
switch语句实现周一到周五输出weekday;周六周天weekend C语言#include <stdio.h>#include "stdafx.h"//switch语句:实现周一~周五输出weekday;周六周天输出weekendint main(){ int day = 0; scanf("%d",&day); switch(day) { case 1: case 2: case 3: case 4: case 5: printf("weekda
原创
2020-11-06 10:15:53 ·
3864 阅读 ·
0 评论