文件名称:value
介绍说明--下载内容均来自于网络,请自行研究使用
演示用算符优先法对中序算术表达式求值的过程。
程序执行的命令包括:
(1)构造两个空栈,数栈和运算符栈;(2)输入一个中序算术表达式,表达式中数字进入数栈,运算符进入运算符栈;(3)将从键盘上输入的运算符与运算符栈中的运算符进行优先级比较;(4)将运算结果再放入数栈中;(5)结束。
-Demonstration by operators in order of priority on the arithmetic expression evaluation process. Procedures for the implementation of the order include: (1) Construction of two empty stack, the number of stacks and stacks operator (2) enter a sequence of arithmetic expressions with digital access to a number of stacks, operator to enter the stack operator (3 ) from the keyboard input operator and operator stack priority operator to carry out comparison (4) then put the number of computing the results of the stack (5) end.
程序执行的命令包括:
(1)构造两个空栈,数栈和运算符栈;(2)输入一个中序算术表达式,表达式中数字进入数栈,运算符进入运算符栈;(3)将从键盘上输入的运算符与运算符栈中的运算符进行优先级比较;(4)将运算结果再放入数栈中;(5)结束。
-Demonstration by operators in order of priority on the arithmetic expression evaluation process. Procedures for the implementation of the order include: (1) Construction of two empty stack, the number of stacks and stacks operator (2) enter a sequence of arithmetic expressions with digital access to a number of stacks, operator to enter the stack operator (3 ) from the keyboard input operator and operator stack priority operator to carry out comparison (4) then put the number of computing the results of the stack (5) end.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验2的对中缀表达式求值.c