C program that will ask the user to input a secret message. Your program will then encrypt and display the cipher text using the encryption formula. Also, to recover the original message, your program should be able to decrypt and display the shift cipher text.
Sample Program Interaction:
Type your secret message here: MEET YOU IN THE PARK
Cipher Text: PHHW BRX LQ WKH SDUN
Shift Cipher Text: MEET YOU IN THE PARK
i started with some codes and cannot seem to get it.. i have 4 functions
void encrypt(char*ptr)
void decrypt(char*ptr)
int alphatonum(char c)
chra numtoalpha(int n)
i also got the formulas ..
f(p) = (p + 3) mod 26
f(p) = (p - 3) mod 26
just cant seem to do the codes :( anyone help! im planning to send someone a message!