52ky 发表于 2022-10-6 10:31:34

c++编写的万年历源码

voidgetyear();//提示用户输入想要查询的年份intioleapyear();//判别该年是不是闰年intweekday();//判别该年的元旦是星期几//voidsetweek();intmonthday(inti);//该年每个月的天数voiddisp();//显示成果。........
万年历C++编写.docx

(voidgetyear();// Prompt the user to enter the year you want to query intoleapyear ()// Determine whether the year is a leap year intweekday()// Judge the day of the New Year of the year//voidsetweek(); intmonthday(inti);// The number of days in each month of the year voiddisp()// Show results
Perpetual Calendar CWrite.docx)




页: [1]
查看完整版本: c++编写的万年历源码