早教吧作业答案频道 -->数学-->
if(month==2&&((yearl==0&&yearh%4==0)||(yearl!=0&&yearl%4==0))&&day==30)day=1;这句话怎么解释啊yearl是年的低2位yearh是高2位
题目详情
if(month==2&&((yearl==0&&yearh%4==0)||(yearl!=0&&yearl%4==0))&&day==30)day=1; 这句话怎么解释啊 yearl 是年的低2位 yearh是高2位
▼优质解答
答案和解析
yearl==0&&yearh%4==0判断低2位是否是0,并且高2位能被4整除,等价于year%400==0,即year能否被400整除. yearl!=0&&yearl%4==0,低2位不等于0,并且低2位能被4整除.如果低2位能被4整除,那么year就能被整除.所以yearl!=0&&...
看了 if(month==2&&(...的网友还看了以下:
一首英文歌开头是every day every night,重复了好多遍every day eve 2020-04-06 …
first day at schoolThe First Day School When Bill 2020-05-16 …
英语翻译Can you get up off the couch,With that remote 2020-05-16 …
One day a woman was out golfing when she hit her 2020-05-16 …
英语翻译But if that day did not keep me on your cell 2020-05-16 …
根据例子,把下列句子改成if引导的条件状语从句.Example:Sue lay in the su 2020-05-17 …
英语翻译这个句子要翻译的像样不要乱七八糟!What will happen to food on 2020-05-17 …
if(month==2&&((yearl==0&&yearh%4==0)||(yearl!=0&& 2020-07-20 …
懂flash的大神请进啊!mydate=newDate();seconds=mydate.getS 2020-07-26 …
DateTime?startDate=null;后面赋值格式化问题,在线等,急DateTime?st 2020-10-29 …