riris wijaya wrote:hy all, i can't figure out the logic of this
The position of A and B is random. And A and B is linked by *. What is the logic of this?? do i have to make an array 10 x 10, and access the index randomly to put A??? or what??
The solution is pretty easy ;)
1. Fill A's row till B's column
2. Fill B's column till A's row
riris wijaya wrote:
but still, i can conect A and B with *. Is there any suggestion???
Same suggestion you've already received:
Campbell Ritchie wrote:Pencil and paper. That’s what you need. Write down an explanation of how you would do that. Once you have got it into very simple words (pseudo-code), it will be easy to convert to code.