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

Given an arbitrary cipher text file, you need to write a C++ program to find the

ID: 3913043 • Letter: G

Question

Given an arbitrary cipher text file, you need to write a C++ program to find the value of the shift, and decrypt the cipher text to plaintext. You must NOT hard code the plain text or the cipher text in your program. Your program should try various shift values, and compare with these common English words to determine whether the shift value is correct. Test your program with a sample cipher text here (only the alphabetic letters are changed). No text file are used. The output will ask the user to input the text.

Sample cipher text:

Explanation / Answer

#include #include #include #include #include using namespace std; int main() { char code[501]; int shift, len, i=0, j=0; 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