Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Ali has written code including a function to make rectangles of their favorite color.But there is one mistake in the code that you need to fix.

Ali has written code including a function to make rectangles of their favorite color. But there is one mistake in the code that you need to fix.

First uncomment the code below, and then fix the mistake. Note that there is only one mistake and your fix should preserve the functionality that Ali has worked hard on. (This question is in BSL language).

;(define COLOR "purple")

;

;(define (pretty-rect w h)

; (rectangle w h "solid" COLOR))

;

;(pretty-rect 20 30 "purple")

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question