When checking vigenere.c with check50, I get the following
:) vigenere.c exists
:) vigenere.c compiles
:( encrypts "a" as "a" using "a" as keyword
\ expected output, but not "a"
:( encrypts "world, say hello!" as "xoqmd, rby gflkp!" using "baz" as keyword
\ expected output, but not "xoqmd, rby gflkp!"
:( encrypts "BaRFoo" as "CaQGon" using "BaZ" as keyword
\ expected output, but not "CaQGon"
:( encrypts "BARFOO" as "CAQGON" using "BAZ" as keyword
\ expected output, but not "CAQGON"
:) handles lack of argv[1]
:) handles argc > 2
:) rejects "Hax0r2" as keyword
https://sandbox.cs50.net/checks/3824019f400744caaf02f4fb42ef6cec
I can see my program producing the correct output. However, I'm still getting red sad faces. How to fix that?