Hey guys! Could you give me some tips on this reddit 3 easy challenge.
Welcome to cipher day!
write a program that can encrypt texts with an alphabetical caesar cipher. This cipher can ignore numbers, symbols, and whitespace.
for extra credit, add a "decrypt" function to your program!
I do realise that i need to use getline but further from that im pretty stuck. Im weak using strings and chars.
So basically my problem is that i know that I should somehow make a become the a + x character.
So if the key to how much we want to pivot(if thats a correct word) is 3: a would become d
But i do not know how to do it. Just a tip would be helpful. :)
I posted that I did give up, but then I did get my shit together and finally made that program to encrypt a certain word with only lowercase letters. The code above is wrong and I now know why is it. :)