Results 1 to 1 of 1
- 08-15-2011, 02:09 PM #1
Senior Member
- Join Date
- Aug 2011
- Posts
- 116
- Rep Power
- 0
2 dimensional arrays and encryption
Ok individually i can do both but im not sure where to start when putting these two together.
Bassically i want to read words from a text file then encrypt them in a two dimensional array.
So say the first word is MATHEMATICS id first want to remove the duplicated letters then place the remaining letters in a 5x5 array filling the rest of the space with the ramaining letters of the alphabet:
M A T H E
I C S B D
F G K L N
O P Q R U
V W X Y Z
The encryption would then be done by creating a rectangle so corners M and K. Then swap the letters on each corner so M would be T and F would be K
Hope this makes sense and any help is appreciated.
Similar Threads
-
Sorting Two Dimensional arrays
By anfielder in forum New To JavaReplies: 5Last Post: 12-14-2010, 07:12 AM -
two dimensional arrays
By cliffh in forum New To JavaReplies: 2Last Post: 11-05-2010, 11:43 PM -
Printing Two Dimensional Arrays with for loops
By mcnam4119 in forum JCreatorReplies: 3Last Post: 10-06-2010, 05:27 AM -
dynamic two dimensional arrays?
By dinosoep in forum New To JavaReplies: 4Last Post: 12-05-2009, 06:12 PM -
Multi-dimensional arrays
By Implode in forum New To JavaReplies: 1Last Post: 09-15-2009, 08:50 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks