A common bug in Caesar and Vigenere is printing out characters that are not visible on screen. The most common cause here is actually through an off by one error, where the student loops to < n+1 or <= n and then mistakenly encrypts the trailing \0 to something exotic. However, check50s feedback isn't very helpful here:

The above is the result of introducing this off-by-one in vault50's solution, full results at: https://submit.cs50.io/check50/db65ac87b1538ac1afc860e7df823b5158885d90
Can we improve?
A common bug in Caesar and Vigenere is printing out characters that are not visible on screen. The most common cause here is actually through an off by one error, where the student loops to
< n+1or<= nand then mistakenly encrypts the trailing\0to something exotic. However, check50s feedback isn't very helpful here:The above is the result of introducing this off-by-one in vault50's solution, full results at: https://submit.cs50.io/check50/db65ac87b1538ac1afc860e7df823b5158885d90
Can we improve?