My teacher give me this, write this in C++, but I have a lot of project, please help me
Write a program "computer". The program allows the user to enter an expression, then print the results to the screen.
Note:
- Expressions parentheses, brackets can nest
- Expressions will have calculations (plus (+), minus (-), multiply (), division (/), hat (^)
- Can remove multiplication () before the brackets. For example: 3 * (2 +1) 3 (2 +1)
- There are plus points if the expression is calculated as a function of sin, cos, sqrt, ...