A method that is passed two 2-dimensional arrays of characters

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • glitchy
    New Member
    • May 2009
    • 4

    A method that is passed two 2-dimensional arrays of characters

    I'm having trouble with in regards to array. The image link is below



    any ideas?
  • JosAH
    Recognized Expert MVP
    • Mar 2007
    • 11453

    #2
    Originally posted by glitchy
    any ideas?
    Yep; see your other thread for a (same) answer. In other words: you give it a try an we can (possibly) help if you're stuck.

    kind regards,

    Jos

    Comment

    • glitchy
      New Member
      • May 2009
      • 4

      #3
      i'm actually stuck on all of it. no idea how to start/finish it.

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Originally posted by glitchy
        i'm actually stuck on all of it. no idea how to start/finish it.
        Think of a single row of the matrixes, say, LLLL and RRRR; you want to take the first half of the first array and the second half of the second array; the result must be LLRR.

        Now think of integer division: 4/2 == 2 and 5/2 == 2 as well.

        Now it's your turn.

        kind regards,

        Jos

        Comment

        Working...