Question: Evaluate an infix Expression Write a program in c or java to evaluate an infix expression. You only have to handle four kinds of operators:
Evaluate an infix Expression
Write a program in c or java to evaluate an infix expression. You only have to handle four kinds of operators: +, -, x, and /.
Sample input:
+11*-6+9/-2
Sample output:
-70.5
Requirments
-
- Design issues, what are the problems and how you solve them
-
- Data structures you use, the decision behind selecting them
-
- Algorithms you employ,
- test cases(input samples) and results(output samples)
- The source code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
