[Practice Puzzle] Encryption/Decryption of Enigma Machine

Hello,

There is a problem with the starter code (aka auto generated code) for C, it does not read in the input properly.
The line:
fgets(rotor, 27, stdin);
it should be
fgets(rotor, 27, stdin); fgetc(stdin);

Can this be corrected?

1 Like