·怎么用c语言编写万年历,要求输入日期就显示星期答:;scanf("%c",&temp);CaculateWeekDay(year,month,day);printf("输入0退出,其他继续:");scanf("%c",&temp);} } 运行效果:请输入日期:格式为:1900,1,1 2008,4,29 星期二 输入0退出,其他继续:d 2008,1,1 星期二 输入0退出,其他继续:l 2008,8,8 星期五 输入0退出,其他继续:0 ...
c语言万年历,竖排,急答:include <stdio.h>int main(){int a, i, j, n, k, t, w, x, y, z;static int d[13][78];int m[14] = { 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };char wst[] = " Sun Mon Yue Wed Thu Fri Sat ";printf("输入年份: ");scanf("%d", ...