Hey Guys,
I recently got a problem where I was given a message which had several of the letters repeated several times due to a faulty transmitter. I had to remove the extra letters and get the correct message. No two adjacent letters in the correct message are the same.
However in line 27, when I want to put the value of let1 as an element of the CorrectMessage array, it prints out the correct value for let1 (at line 28) but does not set the value for CorrectMessage[n] (at line 32). Can you tell me how I enter the value for an array element from a variable?