Re: computer science help
The Java tips and snippets forum is reserved for tips/snippets you're providing for others :)
I've moved this topic into an appropriate forum.
What have you done so far (code, pseudo or Java)? If you're unsure where to start, I'd recommend reading through the Java Language Tutorials.
Re: computer science help
each steps he moves one meter forward or one step back wards
Ok, so is each step 1 meter?
Re: computer science help
Quote:
determine how many steps the drunk will take before falling off the bridge.
Use a Random number to determine which direction. Increment/decrement the location until off the bridge.
Re: computer science help
Re: computer science help
Why do you guys have to point out all the cross posting? It's not illegal in this forum?
Re: computer science help
Quote:
Originally Posted by
javapenguin
Why do you guys have to point out all the cross posting? It's not illegal in this forum?
There are many reasons. First, the question may already be answered somewhere else, and without knowing one can waste their time trying to help out to solve a problem that is already solved. Second, and this just recently happened in these forums - a discussion in another cross post had important information which another forum did not - leaving many rehashing and asking the same questions. Third, its redundant information - doing a google search on your problem to try and find an answer only to bring up several forums with the same question being asked and not knowing where the answer lies (or it there is an answer) can be frustrating. Fourth, it can be considered rude and selfish for a poster to neglect any of the issues above. It may not be 'illegal' in this forum, but it is polite to post links to other places where the identical question was asked. It is understandable if new users aren't aware of the issues outlined above, but it is also important they be made aware of those issues and the policies of this and other forums.