Fix some incorrect documentation in README

This commit is contained in:
Smaug123
2016-11-08 19:57:54 +00:00
committed by GitHub
parent ce30c83132
commit 4e02a36b07

View File

@@ -37,7 +37,7 @@ Encrypt the text "Hello, World!" with a Caesar offset of 3 (that is, sending
'a' to 'd'):
```julia
encrypt_caesar("Hello, World!", 3)
# outputs "khoor, zruog!"
# outputs "KHOOR, ZRUOG!"
```
Notice that `encrypt_caesar` turns everything upper-case, but retains symbols.
@@ -97,7 +97,7 @@ encrypt_monoalphabetic("Hello, World!", "DEFGHIJKLMNOPQRSTUVWXYZABC")
# outputs "KHOOR, ZRUOG!"
```
Decrypt the same text, this time demonstrating the dictionary capability:
Decrypt the same text:
```julia
decrypt_monoalphabetic("Khoor, Zruog!", "DEFGHIJKLMNOPQRSTUVWXYZABC")