Question: I need to complete this C++ program. The instructions are in the comments inside the code below: Original string is: this is a secret! Encypted

I need to complete this C++ program. The instructions are in the comments inside the code below: Original string is: this is a secret!

Encypted string is: uijt!jt!b!tfdsfu"

Decrypted string is: this is a secret!

//Encoding program

//Pre-_____?

//other necessary stuff here

int main()

{

//create a string to encrypt using a char array

cout<< "Original string is: "<

encrypt(string);

cout<< "Encrypted string is: "<

decrypt(string);

cout<<"Decrypted string is: "<

return 0;

}

void encrypt(char e[])

{

//Write implementation function encrypt

}

void decrypt(char *ePtr)

{

//Write implementation function decrypt

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!