šŸ“
SICP
  • README
  • Building Abstractions With Procedures
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
Powered by GitBook
On this page

Was this helpful?

  1. Building Abstractions With Procedures

2

Exercise 1.2: Translate the following expression into prefix form.

5+4+(2āˆ’(3āˆ’(6+4/5)))3(6āˆ’2)(2āˆ’7)\frac{5 + 4 + (2 - (3 - (6 + 4/5)))}{3(6 - 2)(2 - 7)}3(6āˆ’2)(2āˆ’7)5+4+(2āˆ’(3āˆ’(6+4/5)))​
(/ 
    (+ 5 4 (- 2 (- 3 (+ 6 (/ 4 5)))))
    (* 3 (- 6 2) (- 2 7))
)
Previous1Next3

Last updated 4 years ago

Was this helpful?