How should I write the assignment that is not divisible by 100 and 400?
........
........ 2018-12-04 22:07:17
0
2
1331

How to write the assignment that cannot be divisible by 100 and 400

........
........

reply all(1)
小明
$a=2000;
if (($a%400==0)&&($a%100==0)) {
	echo "整除!";
}else{
	echo "不整除了!";
}


  • reply It seems that you are doing an exercise to find a leap year. You cannot form a team, so you need to add % before it!
    天蓬老师 author 2018-12-07 14:00:34
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template