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
If you specify a negative number but -1, the code returns an unexpected result. It should display an error message when a negative value is specified as the key.
cs50/caesar/caesar.c
Line 17 in 6176a97
If you specify a negative number but -1, the code returns an unexpected result. It should display an error message when a negative value is specified as the key.
Example:
$ ./caeser -10
plaintext: abcdefgABCDEFG
ciphertext:WXYZ[]789:;<=
The text was updated successfully, but these errors were encountered: