Search:

Type: Posts; User: dianac

Search: Search took 0.10 seconds.

  1. Replies
    21
    Views
    1,805

    [SOLVED] Re: Encrypting a text message

    I know, just was looking how to convert it to string. Already solved, thanks.
  2. Replies
    21
    Views
    1,805

    [SOLVED] Wrong output

    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
  3. Replies
    21
    Views
    1,805

    [SOLVED] Cannot return string in the method

    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>
    ...
  4. Replies
    21
    Views
    1,805

    [SOLVED] Re: Encrypting a text message

    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...
  5. Replies
    21
    Views
    1,805

    [SOLVED] Re: Encrypting a text message

    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
  6. Replies
    21
    Views
    1,805

    [SOLVED] Re: Encrypting a text message

    The exception was already fixed.


    i say one dimension array, because it is printing all in one row
  7. Replies
    21
    Views
    1,805

    [SOLVED] Re: Encrypting a text message

    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
  8. Replies
    21
    Views
    1,805

    [SOLVED] Re: Encrypting a text message

    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[]...
  9. Replies
    21
    Views
    1,805

    [SOLVED] Re: Encrypting a text message

    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) {
    //...
  10. Replies
    21
    Views
    1,805

    [SOLVED] Re: Encrypting a text message

    Where is favorite search engine? I use Eclipse
  11. Replies
    21
    Views
    1,805

    [SOLVED] Encrypting a text message

    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......
Results 1 to 11 of 11