diff options
| -rw-r--r-- | cst120/week_4/homework_4.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cst120/week_4/homework_4.c b/cst120/week_4/homework_4.c index 03028bf..d2e26c4 100644 --- a/cst120/week_4/homework_4.c +++ b/cst120/week_4/homework_4.c @@ -49,14 +49,15 @@ int main(void) { rail_fence_encrypt(caesar_cipher_encrypted_message); /* Output final double-cipher-ed result */ - printf("Caesar cipher: %s\n", caesar_cipher_encrypted_message); + printf("\nCaesar cipher: %s\n", caesar_cipher_encrypted_message); printf("Rail Fence cipher: %s\n", rail_fence_encrypted_message); printf("Rail Fence + Caesar cipher: %s\n", caesar_rail_fence_encrypted_message); /* Prompt user to repeat */ - printf("Would you like to go again? (y/n) "); + printf("\nWould you like to go again? (y/n) "); scanf(" %c", &user_go_again); + printf("\n"); /* Free the encrypted messages */ free((void *)caesar_cipher_encrypted_message); |