Demo entry 6760820

2

   

Submitted by anonymous on Sep 18, 2018 at 11:02
Language: C. Code size: 159 Bytes.

/*判断闰年 */
if ((year % 4 == 0 && year % 100 != 0) || year % 400 == 0)
	printf("%d is a leap year\n", year );
else
	printf("%d is not a leap year\n", year );

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).