#include <iostream>
#include<iomanip>
#include<cmath>
#include<limits>
using namespace std;
int zeller(int y, int m)
{
int w, c = y / 100;
y %= 100;
w = y + y / 4 + c / 4 - 2 * c + 13 * (m + 1) / 5 ;
w %= 7;
w >= 0 ? w : w += 7;
return w;
}
int main()
{
int y, m, w, d, b = 0;
while (1)
{
cout << "请输入年[1900-210
<程序>输入年份,月份——打印月历
最新推荐文章于 2022-03-22 16:59:48 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)