用C语言实现万年历答:include <stdio.h> include <conio.h> include include <stdlib.h> long Year;int date[12][6][7];int day_tbl[ ][12]={{31,28,31,30,31,30,31,31,30,31,30,31},{31,29,31,30,31,30,31,31,30,31,30,31}};//每月最后一天 char *str[]={"一月","二月","三月","四...
跪求万年历—公历转换器噶C语言程序代码啊!!!答:include<stdlib.h> int IsLeapYear(int);int main(){ int i;int day;int year;int temp;int temp_i;long int Year_days = 0;int Year_Start = 1;int Per_Year_Days;int month_day[]={31,28,31,30,31,30,31,31,30,31,30,31,29};printf("Please enter the year: ");scanf("...
跪求个利用51单片机1602显示屏DS1302做的万年历c编程序,带有公历,农历...答:code uint day_code2[3]={0x111,0x130,0x14e};/ 函数功能:输入BCD阳历数据,输出BCD阴历数据(只允许1901-2099年)调用函数示例:Conversion(c_sun,year_sun,month_sun,day_sun)如:计算2004年10月16日Conversion(0,0x4,0x10,0x16);c_sun,year_sun,month_sun,day_sun均为BCD数据,c_sun为世纪...