Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.

# Thread: loops conditionals problem java! HELP T_T

1. ## loops conditionals problem java! HELP T_T

i always get stuck with this kind of question please help me and answer this problem for me. so that i can use it as a guideline.

THANK YOU ALL

Write a program that reads in a year value and determines if the year is a leap
year or not. Leap years have 29 days in February. A leap year is a year that
is divisible by 4, unless it is also divisible by 100 but not 400. For example,
2003 is not a leap year, since it is not divisible by 4. The year 1900 is not a
leap year as it is divisible by 100, however the year 2000 is a leap year,
because it is divisible by 400 (as well as 100 and 4). Produce an error
message if the year value is less than or equal to 1582, which is the year our

• Welcome to this forum
http://www.codingforums.com/rules.htm
1.5) No homework assignments - Do not post your entire homework assignment and request that other members do it for you. This is considered cheating, and your thread may even be used by your school to prove your guilt. Now, you may ask for advice or help on a specific aspect of your assignment that you're having trouble with. Use common sense as far as what's acceptable in terms of soliciting help with homework assignments.
And also note that javascript is not Java

•

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•