Code Review
Compare your solutions
Declare procedure "a-plus-abs-b" with two parameters.
In procedure we check if b > 0 we return new procedure name + else - and then calculate
Declare procedure "a-plus-abs-b" with two parameters.
In procedure we check if b > 0 we return new procedure name + else - and then calculate
#lang planet neil/sicp
(define (a-plus-abs-b a b)
((if (> b 0) + -) a b))
;; Declare procedure "a-plus-abs-b" with two parameters.
;; Then we check if b > 0 and return new procedure name + else - and then calculate
#lang planet neil/sicp
(define (a-plus-abs-b a b)
((if (> b 0) + -) a b))
;; Declare procedure "a-plus-abs-b" with two parameters.
;; Then we check if b > 0 and return new procedure name + else - and then calculate
Declare procedure "a-plus-abs-b" with two parameters.
In procedure we check if b > 0 we return new procedure name + else - and then calculate
Declare procedure "a-plus-abs-b" with two parameters.
In procedure we check if b > 0 we return new procedure name + else - and then calculate
#lang planet neil/sicp
(define (a-plus-abs-b a b)
((if (> b 0) + -) a b))
;; Declare procedure "a-plus-abs-b" with two parameters.
;; Then we check if b > 0 and return new procedure name + else - and then calculate
#lang planet neil/sicp
(define (a-plus-abs-b a b)
((if (> b 0) + -) a b))
;; Declare procedure "a-plus-abs-b" with two parameters.
;; Then we check if b > 0 and return new procedure name + else - and then calculate