Yes I have put the input into a 2-D array but to go about printing the elements of the array different to how it was entered into the array, would I be using some sort of loop?
Type: Posts; User: mist4lyf
Yes I have put the input into a 2-D array but to go about printing the elements of the array different to how it was entered into the array, would I be using some sort of loop?
The point of each method is changing the inputted string so that the string is either encrypted or decrypted. If I were inside the encrypt method and I read in abcd, how would I make the output be...
Okay so the user would type -encrypt and -decrypt and that would be determined as args[0] and whatever the user types as args[1] is sent to that particular method.
Examples I need to test are...
a is [0][0], b is [0][1], c is [1][0], d is [1][1]
and I wanted to make it so it becomes:
a is [0][0], c is [0][1], b is [1][0], d is [1][1]
I guess by changing the position of the letters...
Okay, Ill look into it and see how I go.
Hi guys,
I have for example a 2-D array with a=[0,0] b=[0,1], c=[1,0] and d=[1,1]
a b
c d
So for my array I am reading in the letters from left to right, row by row and now I wanted to...
I know how to determine the amounts of rows and columns now.
What I mean by shifting the elements, is so that if the string was decrypted"abcd"
a b
c d
We read the elements left to right,...
-Encrypt a string of text using a Caesar Square: the string should be written along the rows of a square that is as small as possible, and then the encrypted string is read down the columns like so: ...