please share your opinion about this video.
please like share & subscribe to my channel.
I will update new videos about coding for java and html.....
Any Recommended videos also taken share your opinion in comments.
Thank you for watching.........
java program for Leap year code:
import java.util.Scanner;
public class Leapyear {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
System.out.println("Enter a year:");
int y = sc.nextInt();
if (((y % 4 == 0) && (y % 100 != 0)) || (y % 400 == 0)) {
System.out.println("Leap year");
} else {
System.out.println("Not a leap year");
}
}
}
On this page of the site you can watch the video online java program for Leap year... Code is in Description with a duration of hours minute second in good quality, which was uploaded by the user Tech Harikrishna 27 January 2023, share the link with friends and acquaintances, this video has already been watched 52 times on youtube and it was liked by 7 viewers. Enjoy your viewing!