if (yrs ==1700 || yrs ==1800 || yrs ==1900)
x=365;
else
if (yrs % 400 ==0 && yrs %100 ==0)
{
x =366;
}
else
if (yrs % 4 == 0)
{
x =366;
}
else
x =365;
Answer
正在讨论
评论 (1)
- 受欢迎
- 新
- 旧
你必须先登录才能发表评论
Nouser
2 五月 2020, 21:25
You could try something like that...
0