Question: JAVA CODE This program outputs all of the correct responses for inputs except for 1 9 0 0 . It reads this as
JAVA CODE
This program outputs all of the correct responses for inputs except for It reads this as a leap year even though it is not. This input should be false through the condition inputYear but the program still reads it as true. What is wrong with the code?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
