diff options
Diffstat (limited to 'problems/somevigenere/attachments/template.c')
-rw-r--r-- | problems/somevigenere/attachments/template.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/problems/somevigenere/attachments/template.c b/problems/somevigenere/attachments/template.c new file mode 100644 index 0000000..3a88b07 --- /dev/null +++ b/problems/somevigenere/attachments/template.c @@ -0,0 +1,19 @@ +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <stdbool.h> + +int main() +{ + char plain_text[64]; + scanf("%[^\n]", plain_text); fgetc(stdin); + char key[64]; + scanf("%[^\n]", key); + + // Write an answer using printf(). DON'T FORGET THE TRAILING \n + // To debug: fprintf(stderr, "Debug messages...\n"); + + printf("Caesar would be proud\n"); + + return 0; +} |