mrmirah / trash-panda-pull-request-practice

Practice Pull Requesting for DS class
0 stars 10 forks source link

adjusted loop condition for LeapYearChecker #18

Closed nateparr closed 5 hours ago

nateparr commented 5 hours ago

issue #8 incorrect answer being shown for any given year trial 7 changed if statement condition from: (year % 4 == 0 && year % 100 == 0 || year % 400 == 0) to: ((year % 4 == 0 && year % 100 != 0) || (year % 400 == 0))