(let ((x 2) (y 5)) (let* ((x 6)(z (+ x y)))(* z x) (display z)(newline);)(display x)(newline)(display y))

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/10 23:45:53
(let ((x 2) (y 5)) (let* ((x 6)(z (+ x y)))(* z x) (display z)(newline);)(display x)(newline)(display y))

(let ((x 2) (y 5)) (let* ((x 6)(z (+ x y)))(* z x) (display z)(newline);)(display x)(newline)(display y))
(let ((x 2) (y 5))
(let* ((x 6)(z (+ x y)))
(* z x)
(display z)
(newline);
)
(display x)
(newline)
(display y)
)

(let ((x 2) (y 5)) (let* ((x 6)(z (+ x y)))(* z x) (display z)(newline);)(display x)(newline)(display y))
ls还汇编呢.scheme就是一种专门的语言,运算符号是在变量前面的,比如(* z x) 就是z * x,display是显示,newline是另起一行,let是定义,这样说了应该能看懂了吧.