1. Engineering
  2. Computer Science
  3. problem 3 ali has written code including a function...

Question: problem 3 ali has written code including a function...

Question details

(@problem 3) ;; 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.

;(define COLOR "purple")

; ;(define (pretty-rect w h)

; (rectangle w h "solid" COLOR))

; ; (pretty-rect 20 30 "purple")

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution