Skip to content

Commit

Permalink
Update APCalendar.java
Browse files Browse the repository at this point in the history
  • Loading branch information
hahuang4 authored Apr 30, 2024
1 parent 6a5328f commit ccd330a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/APCalendar.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public static int numberOfLeapYears(int year1, int year2)
int count=0;
for(int y=year1;y<=year2;y++)
{
if(isLeapYear(y0)
if(isLeapYear(y)
{
count++;
}
Expand Down

0 comments on commit ccd330a

Please sign in to comment.