There is no one way to write an algorithm. You could just spell it out as a series of steps, or you could use pseudo-code, or you could use flowcharts. That's up to you (or your instructor).
Type: Posts; User: KevinWorkman
There is no one way to write an algorithm. You could just spell it out as a series of steps, or you could use pseudo-code, or you could use flowcharts. That's up to you (or your instructor).
You received several suggestions on the other forum, and in fact you posted some code that you said works. What else do you want us to do? Asking us "is this right?" is pretty much useless- why don't...
Like I said, people don't love wasting their time on crossposters. I see you're still posting to the other forum, and I see that you haven't really responded to any of the suggestions you received in...
It's fine. It's not like you broke the law or anything. It's just that there are hundreds of other posts on this forum, and they presumably did not receive help elsewhere already, so I'm going to...
I get that. Other members may feel inclined to continue to help you despite the crossposting, but I for one will be spending my time elsewhere. To understand why, please read this:...
It seems we're wasting our time by helping here, since this has been crossposted:
http://www.java-forums.org/new-java/39393-java-method-check-brackets-string-matched.html
You tell us. Did it work?
When posting code, make sure you use the code or highlight tags. I've edited your post to include them this time.