灯下 登录
计算机科学 / SICP / 1.1.6 Conditional Expressions and Predicates

Exercise 1.2 · 习题

Exercise 1.2: Translate the following expression
into prefix form:

5
+
4
+
(
2

(
3

(
6
+

4
5

)
)
)

3
(
6

2
)
(
2

7
)

.

练习 1.2:将下面的表达式转换成前缀形式:

(5 + 4 + (2 − (3 − (6 + 4/5)))) / (3(6 − 2)(2 − 7))