OKAY, having solved this problem a couple of times in my life, I may be able to answer it.
perhaps if you suggest how you intend to go about it, and where you have gotten so far, we may be able to point you vaguely toward the right direction....
If you would like some help, try to think about how you would go about solving this problem. No-one here will give you an answer showing how it is done, because you will never learn that way.
If you think we may have a better/more efficient way, then post your code, and we might be able to offer a suggestion on how you could improve it (or concede thatyour way is better).
We have no proof that any of us can actually program in Java (although the evidence with some of the replies given in different threads (r035198x (sorry if i missed a digit), horace1 and probaly countless others) implies there are people here who know what they're talking about.
People here can help you to solve a problem, but if you want proof, I think there is plenty of evidence around....
Comment