145 pts.
 I want to input operater like “* / -”
hi I want to make a program enter value : 2*2/5(5*5)^2-5+69 and want the output of this calculation

Software/Hardware used:
ASKED: March 27, 2009  12:44 PM
UPDATED: July 7, 2009  10:43 AM

Answer Wiki:
Please describe the specific problems/doubts you are having, so we can provide bettter help. In general, you will need a scanner to scan/parse the input string, and you will probably need to use postfix notation which will require the use of some LIFO (stack) structures.
Last Wiki Answer Submitted:  March 27, 2009  5:30 pm  by  carlosdl   63,535 pts.
All Answer Wiki Contributors:  carlosdl   63,535 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

you can use a stack to convert this expression to postfix expression and then you can calculate that postfix expression using push and pop to the stack.

 15 pts.