搜索资源列表
dateclasses
- 建立一个日期类,计算各日期间关系 特殊判断①对是否是闰年进行判断; ②根据闰年判断结果,确定特殊月份2月的截止天数; ③分别对大月(31天)和小月(30天)不同月份是否到月末进行判断; ④对是否跨年进行判断。
runnian
- 判断某年是否为闰年,闰年是年份为4的倍数,两个特殊情况是为100年或400的倍数如果参数year是闰年,则返回true否则false-JAVA
rj06318e2
- 1、最大公约数、最小公倍数的求解; 2、任意输入一个日期数据,判断是否闰年,并算出是周几; -1, the common denominator, least common multiple of the solution 2, enter a date of arbitrary data, to determine whether a leap year, and is calculated for several weeks
dh
- 输入某年某月某日,判断这一天是这一年的第几天? 1.程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊 情况,闰年且输入月份大于3时需考虑多加一天。-jadlk asdj asjdl!
lunwen
- 判断一个年份是不是闰年并输出结果~~~~!-Determine whether a year is a leap year and the output ~~~~!
EXE4
- 使用C#语言编写的程序,用来判断输入年份是否闰年-isleap
perpetual-calendar
- 自己编写的简单C++万年历程序,里面包含三个程序,另外该程序还可以判断某一年是否为闰年。- have written a simple C++ calendar program, which includes three programs, while the program can determine whether a particular year a leap year.
runnian
- 本程序是基于汇编语言编写的简单的判断闰年的程序,此程序简单便捷易于应用,可应用到日常生活中闰年的判断,也可用在万年历的制作中。-This procedure is based on a simple assembly language program to determine leap year, this program simple and convenient user-friendly and can be applied to daily life to determine leap
wannianli
- c语言实现万年历,可实现查询;显示;判断闰年-c language calendar can achieve query show judgment leap year
example4
- 题目:输入某年某月某日,判断这一天是这一年的第几天? 1.程序分析:以3月5日为例,应该先把前两个月的加起来,然后再加上5天即本年的第几天,特殊 情况,闰年且输入月份大于3时需考虑多加一天。-Title: enter a certain period of a day, judgment day is the first few days of the year? Program analysis: March 5, for example, before the first
Java
- 编写程序,判断给定的某个年份是否是闰年。 闰年的判断规则如下: (1)若某个年份能被4整除但不能被100整除,则是闰年。 (2)若某个年份能被400整除,则也是闰年。-Write a program to determine whether a given year is a leap year. Judgment leap year rules are as follows: (1) If a year divisible by 4 but not divisible by
简单万年历
- (1)日历显示功能。能根据系统日期进行初始化,如果没有任何输入,则显示系统日期所在月份的月历。 (2)日历查询、闰年判断功能。输入日期进行查询,显示查询日期所在月份的月历,还将显示所在年份是否为闰年 (3)参数检查功能。如果输入日期不合法,查询将被拒绝,并显示提示信息。 (4)调整年份、月份和日期,并显示调整后的日期及月历。((1) calendar display function. It can be initialized according to the system date.