Question: This program outputs the correct responses except when 1 9 0 0 is inputed as the year. The boolean variable should be false
This program outputs the correct responses except when is inputed as the year. The boolean variable should be false after the input is run through inputYear because it is not divisible by but the program still outputs it as leap year" 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
