C++ Assignment
Assignment
Write a program to evaluate an infix expression, which is terminated with an equal sign (=). For example, 2 + (3 * (4 - 2) - 5 ) / ( 2 + 1 ) - ((2)) =
The expression will contain single digit non-negative integer numbers from 0 through 9, operators +, -, *, / for addition, subtraction, multiplication, and division, respectively. The result of the division is the quotient, thus, it is an integer division. Parenthesis ‘(‘ and ‘)’ can be freely used to enforce operator precedence and left-to-right association, otherwise, multiplication and division take higher precedence over addition and subtraction.
You can work in teams of two, members of the team get the same grade. You can assume that the input expression is syntactically correct, thus, no error checking is necessary. The program must be well commented, including who did which part. You will echo the input then print the result.
What to turn in
Turn in the hard copy and screen shots for test results
12 years ago 5
- SOC 320 Week 5 Final Journal Reflections on Federal Immigration Policy
- MTH 221 Week 1 Individual -- Selected Textbook Exercises
- DO NOT UNDERSTAND
- quantitative analysis
- ISCOM 361 Week 1 DQs
- Computer Science chapter 3
- for researchwritingcenter only
- BUS 201 Week 5 Final Assignment; Managment
- BUS 201 Week 1-5 Complete A++ work !!!
- BSA 411 Week 2 DQ 1 and DQ 2