Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please create program In C++ plea **The cipher_freq.txt and corpus_freq.txt are

ID: 3592031 • Letter: P

Question

Please create program In C++ plea**The cipher_freq.txt and corpus_freq.txt are files that already have so you can just make the program to run any file but that the extension of the file can be change.

Cipher cracker Please create a program called sol_cracker.ext, where ext denotes the file extension corresponding to your choice of programming language (.py, .c, .cpp, .c++, or .java). This program reads in three files: ciphertext.txt, cipher_freq.txt, and corpus_freq.txt. The output of this program should be a file called cracked.txt. It should be the result of replacing each charact of ciphertext.txt with a capital Roman letter or a space. The correspondnce is given by the files cipher_freq.txt and corpus_freq.txt. The character in row i of cipher_freq.txt should be replaced with the letter (or space) in row i of corpus_freq.txt. (Note that for
4
this to work, both cipher_freq.txt and corpus_freq.txt must be sorted by frequency.) The result will probably not be a perfect decrypt, but the output should be close enough to cleartext to repair the remaining problems manually.

Explanation / Answer

#include #include using namespace std; // Class Declaration class person { //Access - Specifier public: //Variable Declaration string name; int number; }; //Main Function int main() { // Object Creation For Class person obj; //Get Input Values For Object Varibales cout > obj.name; cout > obj.number; //Show the Output cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote