Ask your own question, for FREE!
Computer Science 17 Online
OpenStudy (anonymous):

I am using racket to multiply to list with the same length. so far I have try (define (multiply-list a b) ( if( [(empty? a) (empty)]) else (cons(*car(a)car(b))) cdr(a) cdr(b))) I am having trouble understanding the syntax of racket. I want to update the list to it's cdr. but I cannot get it right a and b are the list.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!