"Il y a peu de choses qui me soient impossibles..."
Bill Clar wrote:Maybe you're looking at this the wrong way. Does this kind of problem solving interest you? If you're motivated to solve it, then you'll find an answer.
You can teach someone programming, but you can't teach them motivation.
Tony Docherty wrote:You are correct in that you can't teach motivation but you can certainly demotivate someone by poor teaching technique such as by giving them tasks that are way beyond their skills or that aren't particularly useful/meaningful (as I personally think this sort of puzzle is).
I think it is a little unfair to suggest the OP isn't motivated, after all he/she has tried to find a logical way to solve it rather than a brute force approach and has then asked here for advice.
IMO, it's better to tackle a problem with zeal, and fail, then never try at all.
I guess I failed in my wording.
1. Wanted to join the community of Java programmers.
2. Wanted to get the reply about my fitness of becoming a programmer(unable to solve the exercise).
Now, nobody replied regarding my 3rd point - concerning logical solution of the exercise. I mean
nobody gave any suggestions. So I conclude that the task is really pretty straight forward(?)
Somebody had doubts about my motivation of solving puzzles or motivation of learning Java.
Tony Docherty wrote:
2. Wanted to get the reply about my fitness of becoming a programmer(unable to solve the exercise).
It's not possible to determine that from one exercise, particularly one such as this one. But from your current post if you have made it to page 165 without further problems I wouldn't worry.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Paulius Kukulskis wrote:Hi there! This is the first time I am writing here. Just bought a Head First Java book with an intention to become a programmer. And guess what? My illusions started leaving me on the first puzzle in the book. I just couldnt solve it. I mean I could get the answer but I am not able to find a solution. I feel so destroyed. Are there any methodoly to solve these puzzles or this is the indication that programmer's path is not for me?? I would really appreciate if somebody more experienced could reply to this post.
Thanks for your help.
Paul
Arjun K Prasad wrote:i got this right... here is the solution:
Campbell Ritchie wrote:Yes, it shows that old threads can still be useful And welcome to th Ranch
Campbell Ritchie wrote:Welcome to the Ranch:)
Please explain what problem you are having.
A noise
Annoys
An oyster