文件名称:value
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.73kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
演示用算符优先法对中序算术表达式求值的过程。
程序执行的命令包括:
(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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.