1
0
mirror of https://github.com/Didnelpsun/CS408.git synced 2026-11-24 04:42:39 +08:00

将除号和乘号规范化

This commit is contained in:
Didnelpsun
2021-05-31 23:35:44 +08:00
parent cb6e0bd0dd
commit 220d5b726a
15 changed files with 81 additions and 86 deletions

View File

@@ -34,7 +34,7 @@
### 表达式求值
一般使用的都是中缀表达式,例如:4+2×3-10/5,按照运算法则,我们应当先算2×3然后算10/5 ,再算加法,最后算减法。
一般使用的都是中缀表达式,例如:4+2×3-10÷5,按照运算法则,我们应当先算2×3然后算10÷5 ,再算加法,最后算减法。
表达式分为三个部分:操作数、运算符、界限符。