- Joined
- Apr 14, 2012
- Messages
- 2,901
I want to make a program that does a basic substitution cipher based on an input integer. For example, I type first '3', then the next message I type is "ABC", then each letter is moved an n number of letters on the alphabet line. So "ABC" becomes "DEF".
What I can't figure out is, how do I initialize and set all of this up? Do i create variables for each of the letter of the alphabet and for each lower and uppercase? But also, how do I make the code skip the spaces?
I would appreciate any type of help.
What I can't figure out is, how do I initialize and set all of this up? Do i create variables for each of the letter of the alphabet and for each lower and uppercase? But also, how do I make the code skip the spaces?
I would appreciate any type of help.