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

来源:学生作业帮助网 编辑:六六作业网 时间:2024/10/06 20:56:48
(let((x2)(y5))(let*((x6)(z(+xy)))(*zx)(displayz)(newline);)(displayx)(newline)(displayy))(let((x2)(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是定义,这样说了应该能看懂了吧.