problem sets from week 2 of CS50
given a text will calculate the level of readability based on Coleman-Liau index.
e.g.:
./readability
Text: Congratulations! Today is your day. You're off to Great Places! You're off and away!
Grade 3
Takes a number N and a text and prints the text encrypted with a ROT(N) system.
e.g.:
./caesar 1
plaintext: hello
ciphertext: ifmmp
Given a susbtitution cipher and a text, prints the text encrypted with the substitution cipher.
e.g.:
./substitution YTNSHKVEFXRBAUQZCLWDMIPGJO
plaintext: HELLO
ciphertext: EHBBQ