资 源 简 介
数据结构中关于四则运算的实验,主要涉及到栈的操作,在运行窗口中选择1,进入运算操作.输入你所想要的式子,注意负数不要参与运算,但式子能产生负数.式子例如:
输入9*(8-6/2)+9/2然后按Enter键,可以得到式子的值是49.5.
或者输入9-10*2然后按Enter键,可以得到式子的值是-11.
-Data structure on the four computing experiments, mainly related to the operation of the stack, in the run window, select one, enter the computing operation. Enter the formula you want to pay attention to the negative not to take part in computing, but the formula can produce negative. Style son such as: Enter the 9* (8-6/2)+ 9/2 and then press Enter key, you can get the formula value is 49.5. or enter a 9-10* 2 and then press Enter key, you can get the value of formula is-11.