Skip to content

Commit

Permalink
Attempt p76 in fortran (6)
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Oct 3, 2024
1 parent a966f48 commit dcf9ef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fortran/src/p0076.f90
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ integer function p0076() result(answer)
do i = 3, 99
sum = sum + counts(i)
end do
if (sum > 100) then
if (sum <= 100) then
exit
end if
end do
Expand Down

0 comments on commit dcf9ef6

Please sign in to comment.