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][1])
ch = key[i][0];
The array is setup so that the new letter is in [i][0] and the original letter is in [i][1]. 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.