Jamiltron
Tuesday, June 15, 2010
SICP Exercise 1.2
Translate the following into prefix form:
\[\frac{5 + 4 + (2 - (3 - (6 + \frac{4}{5})))}{3(6 - 2)(2-7)}\]
(/ (+ 5 4 (- 2 (- 3 (+ 6 (/ 4 5))))
) (* 3 (- 6 2) (- 2 7)))
This one was pretty easy, just a parsing problem.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment