#include "stdio.hの"
(メインボイド)
{
int型N-;
のprintf( "年入力してください:");
scanfの( "%のD"、およびN-)、
IF((N-N-%4 == 0 && 0 = 100%!。 )||(400%N - == 0))
のprintf( "うるう年");
他
のprintf( "しないうるう年");
}
それは閏年であるかどうかを確認?
おすすめ
転載: www.cnblogs.com/bobotongxue/p/12290663.html
おすすめ
ランキング