Leap Year Checker using BlueJ || Quick and easy Java Tutorial

preview_player
Показать описание
Good day! In this video I made a program that will check if the year that the user entered was leap year or not using BlueJ.

Short Explanation for people who might get confused with this line of code👇
'remainder = year%4;'

The % symbol is does NOT mean percentage --- it is the symbol of modulo. When we are computing for modulo we first divide the number and get only the remainder of it. So in this program the number that we have to divide is the YEAR and number 4. The year is divided by four because leap year happens every 4 years.

If-else Condition Short Explanation
After dividing the numbers if the remainder was equal to zero then it means the entered number is a leap year and vice versa.

I hope you find this video helpful, keep learning while enjoying peeps! Keep safe and be happy❤️❤️❤️

You may follow me on my other accounts as well!
✨Shopee Store
✨Pinterest

#bluej #leapyear #beginner #machinelearning #programminglife #pythonprogramming #javaprogramming #activity #exercise #shortcode #quickcode #quick #javadeveloper #programmerlife #coders #sql #datascience #programmerslife #js #angular #developers #l #programmerhumor #csharp #cybersecurity #codingisfun #windows #coderlife #backend #leap #year #identifier #check #tutorial
Рекомендации по теме
welcome to shbcf.ru