Description: A program is designed to demonstrate the process of evaluating arithmetic expressions with the operator precedence method. The value of the arithmetic four expression is realized by using the operator priority relation.
(1) the form of input: expression, such as 2* (3+4)
The operator can only contain a '+' and '-', '*', ',' ('and')';
(2) the form of output: the result of operation, such as 2* (3+4) =14;
(3) the function that the program can achieve: the evaluation and output of the expression
To Search:
File list (Check if you may need any files):
Filename | Size | Date |
---|
实验2\十进制转二进制.cpp | 1339 | 2017-10-19
|
实验2\十进制转二进制.exe | 395667 | 2017-10-25
|
实验2\表达式求值.cpp | 3066 | 2017-10-25
|
实验2\表达式求值.exe | 398425 | 2017-10-25
|
实验2 |