In this exercise, the shift is determined by the "distance value". For example, with a distance value of 3, 'A' would become 'D', 'B' would become 'E', and so on. The cipher should work for any printable character, not just letters, which means you'll need to
Show more…