O.k. I have to creat an if statement that will change one charechter to another for decoding. The key for the decoding is in an array and everything else is setup. Here is what I have for my if statement:
if (ch ==key[i])
ch = key[i];
The array is setup so that the new letter is in [i] and the original letter is in [i]. When ever I input a number it just returns the original letter. So for instnce if at the promp i input the letter b all that is returned is the letter b. Anybody know what is wrong with my if statement? Any help would be greatly appreciated.