Thank you for the heads up, My apologies. So what I am trying to do with this program is give the user the option to either encrypt or decrypt their file that they are going to enter. I am trying to do this using a while loop, for loop, if and else statements, Here is what I have so far,
I have asked the user to enter 1 to encrypt their code or 2 to decrypt their code. Thus, if 1 then carry out the function of 1, else...........
A second issue I am having is I am reading in the users file as a string, and java is saying I need to put it into an array, here is what I have,
I am under the impressiong that the file would be in an array due to the fact that I am reading the file that is entered into the array string? Obviously I am wrong, please help me...