2. Message Decoder Create a messageDecoder program that reads from a file (one character at a time), and writes all non-
Posted: Sat May 14, 2022 4:41 pm
2. Message Decoder Create a messageDecoder program that reads from a file (one character at a time), and writes all non-numeric characters to a file called Decoded Message.txt, displaying a secret (and motivational) message. ***Hint: .read() will return an int, but this can be type cast as a char. int and char are interchangeable (via type-casting) You could run a loop on a condition like charInFile != (char) -1 Don't forget that -1 is a special character that denotes the end of a file!