c语言中什么代表数字1?
的有关信息介绍如下:[最佳答案] //这个就不用注释了吧 #include "stdio.h" void main() { int i; printf("输入1~7其中一个数字:"); scanf("%d",&i); switch(i) { case 1: printf("Monday\n");break; case 2: printf("Tuesday\n");break; case 3: printf("Wednesday\n");break; case 4: printf("Thursday\n");break; case 5: printf("Friday\n");break; case 6: printf("Saturday\n");break; case 7: printf("Sunday\n");break; default: printf("April Fools' Day\n");break; } }