Hi all, The project is this:my applet will be receiving an expression (a formula actually, something like a+2b+3c ), and values for the parameters(eg a =2,b=3,c=3).What i've to do is to substitute the values in the expression and return the result. Which will be the best approach to achieve? can i work on String tokenizer,Reverse polish notation(RPN) to do it or are there any other ways? Pls help, adv.thanks, Swaminathan.
SCJP, SCWCD, SCEA
Swami nathan
Ranch Hand
Joined: Sep 30, 2000
Posts: 57
posted
0
Just to get attention!anybody listening?!!! swaminathan.
Sanjaya KasthuriArachchi
Greenhorn
Joined: Feb 06, 2001
Posts: 5
posted
0
Originally posted by Swami nathan: Just to get attention!anybody listening?!!! swaminathan.
Can you explain Ur question little bit...
[This message has been edited by Sanjaya KasthuriArachchi (edited February 06, 2001).]
Swami nathan
Ranch Hand
Joined: Sep 30, 2000
Posts: 57
posted
0
Hi Sanjaya, Sorry for the late reply..was off. I've got an algorithm from Deitel's book(java 3rd edition),from Data structures chapter.Its something similar to mine. I'll start working on it first.I'll do get back for clarifications. Thank you for ur response. Swaminathan.