#Console.WriteLine("请输入年份"); int year =Convert .ToInt32 (Console .ReadLine ()); bool b = year % 400 == 0 || year % 4 == 0 && year % 100 != 0; Console.WriteLine(b ); Console.ReadKey();
#Console.WriteLine("请输入年份"); int year =Convert .ToInt32 (Console .ReadLine ()); bool b = year % 400 == 0 || year % 4 == 0 && year % 100 != 0; Console.WriteLine(b ); Console.ReadKey();
本文标题:2018-10-31作业2
本文链接:https://www.haomeiwen.com/subject/aqyatqtx.html
网友评论