Write a C++ program to encrypt and decrypt certain codes.
- by Amber
Step 1:
Write a function
int GetText(char[],int);
which fills a character array from a requested file. That is, the function should prompt the user to input the filename, and then read up to the number of characters given as the second argument, terminating when the number has been reached or when the end of file is encountered. The file should…