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

    1. Design issues, what are the problems and how you solve them
    1. Data structures you use, the decision behind selecting them
    1. Algorithms you employ,
    2. test cases(input samples) and results(output samples)
    3. The source code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!