如何使用点网形式来确定给定的年份是a年? [英] how to find the given year is a leap year using dot net wondows form?

查看:64
本文介绍了如何使用点网形式来确定给定的年份是a年?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

帮我找到代码(.net Windows窗体),以检查给定的年份是否是一个有害年份. domebody plz帮助.

help me to find the codes (.net windows form) to check out whether the given year is a lesp year or not. domebody plz help.

推荐答案

由于您未指定编程语言,因此无法为您提供代码解决方案.
Since you did not specify a programming language, it is not possible to give you a code solution.
A year will be a leap year if it is divisible by 4 but not by 100. If a year is divisible by 4 and by 100, it is not a leap year unless it is also divisible by 400. 


因此,您应该可以从中弄清楚.


So you should be able to figure it out from that.


这篇关于如何使用点网形式来确定给定的年份是a年?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆