Java Program to check if year is a LEAP year or not  | Java Tutorials for Beginners

Java Program to check if year is a LEAP year or not | Java Tutorials for Beginners

Code Stack

55 лет назад

116 Просмотров

Program to Check for Leap Year in Java
----------------------------------------------------------------------------------------------------------------------
Concept of Leap Year -
The rule states:
“Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these centurial years are leap years if they are exactly divisible by 400.”

For example,
if year = 2400, it is a leap year,(Condition 1 satisfied)
but if year = 2200, is NOT a leap year, (Cond. 2 not satisfied),
and if year = 2020, is a leap year, (Cond. 2 satisfied).
----------------------------------------------------------------------------------------------------------------------
#java #hindi #codestack #JavaTutorials #PradeepSaini #OnlineTraining #OnlineClasses #DakshSaini
Program to Check Leap Year in C (HINDI/URDU),
Java walkthrough: Leap Year,
11 Find year is a leap year or not in java,
Java Program for leap year,
Given year is a leap year or not using if else in Java,
Concept of Leap Year,
How to check whether a given year is a leap year or not through a Java program ?.
Program for Leap Year in C (HINDI)
Program to Find Leap Year in C (HINDI)
Program to Check Whether Year is Leap Year or Not

Music: https://www.bensound.com

Тэги:

#Java_program #java_by_pradeep_saini #java_basic_program #leap_year_in_java #java_tutorial #Find_leap_year_in_java #java_program_to_find_leap_year #simple_java_program #learn_java #java_8 #java_by_durga_sir #leap_year_logic #leap_year_program_logic #leap_year_program_in_3_minutes #Java_geek #code_stack_java #code_stack
Ссылки и html тэги не поддерживаются


Комментарии: