Question: I'm trying to decrypt a simple caesar cipher as well as trying to find the initial offset. The output works as expected except that the
I'm trying to decrypt a simple caesar cipher as well as trying to find the initial offset. The output works as expected except that the offsets having to do with the edge of the string is not behaving correctly. In picture of my output, the 12th character should be 'h' as that is what the first offset from 'P' is since 'P' is at the right end of the keystring and 'h' is at the left end. I'm assuming I did something wrong with the if-statement maybe? But I'm not sure, can someone tell me whats going on with my program?




Here is a picture or some of my output for reference
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
