The language we are using here is in Racket.
Please enter the following code:
(cond ((equal? 16 3) (+ 3 8))
((equal? 16 8) 12)
(else (* 6 3)))
Write the return value for the above code. If replacing all of the 16's in the above code with 8, what is the return value? What about replacing the 16’s with 3? What does the cond function do?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here