Question: Combine these two functions into one c++ program. The output should be Enter plain text: Enter Key: Encrypted Version of Message : Decrypted Version of

 Combine these two functions into one c++ program. The output shouldbe Enter plain text: Enter Key: Encrypted Version of Message : Decrypted

Combine these two functions into one c++ program.

The output should be

Enter plain text:

Enter Key:

Encrypted Version of Message :

Decrypted Version of Message:

#c++ t

#include using namespace std; char* encrypt(string input, int key)( int i = 0; char* res-new char[inputlength(): while (i= 'a' && input[i] = 'A' && input[i] >key cout

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!