I know, just was looking how to convert it to string. Already solved, thanks.
Type: Posts; User: dianac
I know, just was looking how to convert it to string. Already solved, thanks.
The output should be
a l o n g t
i m e a g o
, i n a g a
l a x y f a
r , f a r a
w a y
and it is returning
I need to return the encrypted string called box, but it keeps showing error
public class CaesarBox {
public static void main(String[] args) {
// CaesarsBox <-encrypt|-decrypt>
...
What if I want to print box each row in one line?
The is dued to return s in the code. This method requires me to return a string. But when I try to return box it does not allow me, because it is...
It is working but the output is not the desired.
Box should be printing
a l o n g t
i m e a g o
, i n a g a
l a x y f a
r , f a r a
w a y
The exception was already fixed.
i say one dimension array, because it is printing all in one row
box[i] is 6
s size is 32
The problem is that box is printing a one dimensional array
--- Update ---
is being printed as one dimensional array
Thanks, fixed it. The problem now is the size of the box keeps showing up as 6 and it should be a 2 dimensional array 6 x 6
public class CaesarBox {
public static void main(String[]...
Thanks, but I have been looking to the code and can't see what this out of bounds is.
I have modified the code to:
public class CaesarBox {
public static void main(String[] args) {
//...
Where is favorite search engine? I use Eclipse
I need to encrypt a text message in a two dimensional array(closest square matrix to number of letters in the text message) putting each letter that comes first in the first row, then second row......