You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method currently in the main Program class does not return the correct check digit when tested. The logic needs checking to make sure that it is performing the algorithm correctly.
The text was updated successfully, but these errors were encountered:
Fixed in last commit - the issue was that operands had been assigned inside the for loop, so were being reset mid-calculation. Validated against calculation from Luhn Algorithm calculator.
The method currently in the main Program class does not return the correct check digit when tested. The logic needs checking to make sure that it is performing the algorithm correctly.
The text was updated successfully, but these errors were encountered: