Okay so I'm relatively new to Android myself, but what I would do is put print statements or breaks at various parts of your code to figure out where it crashed. A good place to start would be after...
Type: Posts; User: marylandfour
Okay so I'm relatively new to Android myself, but what I would do is put print statements or breaks at various parts of your code to figure out where it crashed. A good place to start would be after...
The scanner object waits for input. It may be a better idea to have it in its own method so the method can prompt for the direction, check if its valid, check to see if the end of the maze, and it...
Think about how a two dimensional array works, if you make a row then make columns within that specific row, what happens?
You don't need a third loop, and you're loop is in the right spot. Think...
You're program is doing what it should correctly. I would look at the logic of whats happening with each iteration. And I'm not sure what you mean by initialize. If you mean create a variable with...
Everything looks good to me, except I would look at your method thats actually calculating the inflation.
From what I see, you're finding the brackets right, but you should take a second look at how you're trying to grab the stuff in between it.
This should help you out.
...
I can't see which part is italicized or I would definetly try to help.
If you want something more elegant, try an array.
If you focus on where each opening and closing bracket is on the line, you should be able to figure out whats in between.
This one is heavy logic. Think about how to use the locations of the points to come up with the radius and the center of the circle. Also, think about why a rectangle only needs those two diagonal...
I'm just starting Java too, so my solution may be really ugly. For figuring out which one is larger you could use interger division to produce which tip is larger. It's a roundabout way, and I'm sure...