I'm not sure why I keep getting garbage values when I run the program. My prompt states:
"The program should read a line of text into a c-string (array of characters), separate the odd-numbered characters from the even-numbered characters, and produce a new encrypted text."
When I run and compile, it just gives my random numbers. Here's my code so far
You request input into your message array, then overwrite every other character in that message array with every character in the uninitialized odds array (one at a time, ending on the final 99th element), then do the same thing for the evens array for the other half.
In other words, every even character in message is overwritten with the last element in the odds array, and every odd character in message is overwritten with the last element in the evens array.
Once you've done that you output "Your Message Is: " followed by a character from both of your uninitialized arrays.