The code is to replace the brackets from the formula.
I am trying to call processBrackets method recursively. But I am having problems.
There is some problem in the if loop at the end.
Can anyone help me to make this code correct. The problem is with the call stack.
You'll have to explain more what you mean with "There is some problem". What is the problem? What output do you get that you don't expect? What input are you using?
I tested and it works as it has been coded...
What is it that you are trying to achieve that it doesn't do?
I love this place!
Joined: Sep 08, 2010
I figured out what was going wrong . Thanks for the reply.
Joined: Oct 13, 2005
. . . well done, but what was wrong. It would help other readers if yo utell them.