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
I had submitted the lab yesterday because it initially passed all of the tests, but today while referencing back to it I realized a mistake that ignores z in calculating the score. The if statement that I used to check for letters looks at the lowercase ascii values was written as such letter > 96 && letter < 122 . I had fixed the issue for the letter a, but forgotten for the letter z.
There should be a test case for the first and last letter because those are the letters that would be most likely left out in the declared range by accident.
The text was updated successfully, but these errors were encountered:
I had submitted the lab yesterday because it initially passed all of the tests, but today while referencing back to it I realized a mistake that ignores z in calculating the score. The if statement that I used to check for letters looks at the lowercase ascii values was written as such
letter > 96 && letter < 122
. I had fixed the issue for the letter a, but forgotten for the letter z.There should be a test case for the first and last letter because those are the letters that would be most likely left out in the declared range by accident.
The text was updated successfully, but these errors were encountered: