My assignment is: In this assignment, you’ll decrypt a secret message using a cipher. A “cipher” is a program that
converts a message in normal text into a secret message, and viceversa. For example, the
normal message “meet at five pm” might be converted to the secret message “[@@, !, (#<@ ][“
using a cipher. The secret message can be sent to a friend. Nobody else could read the
message, expect the friend whose cipher would convert the secret message back to normal
text.
The starter program decrypts the first character in a secret message if that first character is ‘{‘.
This is my code but everytime I compile it I enter a decrypted message and it spits back what I've entered.
#include <iostream>
#include <string>
#include <vector>
using namespace std;